Fix LittleFS image generation
All checks were successful
/ check-changes (push) Successful in 6s
/ build (push) Successful in 3m29s

This commit is contained in:
Djuri Baars 2024-11-29 00:57:07 +01:00
parent b8ed628bf5
commit f0fa58b5ea

View file

@ -81,7 +81,7 @@ jobs:
- name: Check GZipped directory size - name: Check GZipped directory size
run: | run: |
# Set the threshold size in bytes # Set the threshold size in bytes
THRESHOLD=419840 THRESHOLD=410000
# Calculate the total size of files in the directory # Calculate the total size of files in the directory
DIRECTORY_SIZE=$(du -b -s build_gz | awk '{print $1}') DIRECTORY_SIZE=$(du -b -s build_gz | awk '{print $1}')
@ -98,7 +98,7 @@ jobs:
- name: Build LittleFS - name: Build LittleFS
run: | run: |
set -e set -e
/tmp/mklittlefs/mklittlefs -c build_gz -s 419840 output/littlefs.bin /tmp/mklittlefs/mklittlefs -c build_gz -s 410000 output/littlefs.bin
- name: Upload artifacts - name: Upload artifacts
uses: https://code.forgejo.org/forgejo/upload-artifact@v4 uses: https://code.forgejo.org/forgejo/upload-artifact@v4
with: with: