mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-04-20 11:02:14 +02:00
Preserve littlefs image before firmware build wipes it out
This commit is contained in:
parent
15d5b064d4
commit
d15b05cfbd
1 changed files with 6 additions and 0 deletions
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
|
|
@ -95,9 +95,15 @@ jobs:
|
||||||
- name: Build LittleFS image
|
- name: Build LittleFS image
|
||||||
run: pio run -e ${{ matrix.env }} -t buildfs
|
run: pio run -e ${{ matrix.env }} -t buildfs
|
||||||
|
|
||||||
|
- name: Save LittleFS image
|
||||||
|
run: cp .pio/build/${{ matrix.env }}/littlefs.bin littlefs.bin
|
||||||
|
|
||||||
- name: Build firmware
|
- name: Build firmware
|
||||||
run: pio run -e ${{ matrix.env }}
|
run: pio run -e ${{ matrix.env }}
|
||||||
|
|
||||||
|
- name: Restore LittleFS image
|
||||||
|
run: cp littlefs.bin .pio/build/${{ matrix.env }}/littlefs.bin
|
||||||
|
|
||||||
- name: List build artifacts
|
- name: List build artifacts
|
||||||
run: find .pio/build/${{ matrix.env }} -maxdepth 1 -name "*.bin" | sort
|
run: find .pio/build/${{ matrix.env }} -maxdepth 1 -name "*.bin" | sort
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue