Fix LittleFS image generation
This commit is contained in:
parent
b8ed628bf5
commit
f0fa58b5ea
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue