workflow: optimize firmware and SPIFFS update process, improve progress handling and logging

This commit is contained in:
2025-02-22 14:04:34 +01:00
parent adb354ddcd
commit 37d43b2d7d
3 changed files with 38 additions and 51 deletions

View File

@ -41,7 +41,7 @@ jobs:
cp .pio/build/esp32dev/firmware.bin .pio/build/esp32dev/upgrade_filaman_firmware_v${VERSION}.bin
# Create SPIFFS binary with minimal header
( printf '\xe9\x01\x00\x00' && cat .pio/build/esp32dev/spiffs.bin ) > .pio/build/esp32dev/upgrade_filaman_website_v${VERSION}.bin
( printf '\xe9' && cat .pio/build/esp32dev/spiffs.bin ) > .pio/build/esp32dev/upgrade_filaman_website_v${VERSION}.bin
# Create full binary
(cd .pio/build/esp32dev &&