feat: add SPIFFS build step to Gitea and GitHub release workflows
This commit is contained in:
parent
2dd563a178
commit
979adcbb14
@ -60,6 +60,7 @@ jobs:
|
|||||||
# Only build SPIFFS if changed
|
# Only build SPIFFS if changed
|
||||||
if [[ "${{ steps.check_spiffs.outputs.SPIFFS_CHANGED }}" == "true" ]]; then
|
if [[ "${{ steps.check_spiffs.outputs.SPIFFS_CHANGED }}" == "true" ]]; then
|
||||||
echo "Building SPIFFS due to changes..."
|
echo "Building SPIFFS due to changes..."
|
||||||
|
pio run -t buildfs
|
||||||
cp .pio/build/esp32dev/spiffs.bin .pio/build/esp32dev/webpage_${VERSION}.bin
|
cp .pio/build/esp32dev/spiffs.bin .pio/build/esp32dev/webpage_${VERSION}.bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -49,6 +49,7 @@ jobs:
|
|||||||
# Only build SPIFFS if changed
|
# Only build SPIFFS if changed
|
||||||
if [[ "${{ steps.check_spiffs.outputs.SPIFFS_CHANGED }}" == "true" ]]; then
|
if [[ "${{ steps.check_spiffs.outputs.SPIFFS_CHANGED }}" == "true" ]]; then
|
||||||
echo "Building SPIFFS due to changes..."
|
echo "Building SPIFFS due to changes..."
|
||||||
|
pio run -t buildfs
|
||||||
cp .pio/build/esp32dev/spiffs.bin .pio/build/esp32dev/webpage_${VERSION}.bin
|
cp .pio/build/esp32dev/spiffs.bin .pio/build/esp32dev/webpage_${VERSION}.bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user