Skip to content

Commit

Permalink
add sha to fw file
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkucera committed Oct 7, 2023
1 parent 8a2af73 commit be7bb38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
- name: Prepare release dir
run: mkdir release
- name: Build v5.x
run: pio run -e esp32-c3 ; cp .pio/build/esp32-c3/firmware.bin release/firmware-HW_v5.x.bin
run: pio run -e esp32-c3 ; cp .pio/build/esp32-c3/firmware.bin release/firmware-HW_v5.x-${GITHUB_SHA::6}.bin
- name: Assemble v5.x fullflash
run: ./fullflash.sh ; mv firmware-fullflash-HW_v5.x.bin release/
run: ./fullflash.sh ; mv firmware-fullflash-HW_v5.x.bin release/firmware-fullflash-HW_v5.x-${GITHUB_SHA::6}.bin
- name: Build v4.x
run: pio run -e esp12e ; mv .pio/build/esp12e/firmware.bin release/firmware-HW_v4.x.bin
run: pio run -e esp12e ; mv .pio/build/esp12e/firmware.bin release/firmware-HW_v4.x-${GITHUB_SHA::6}.bin
- name: Build v3.0
run: pio run -e esp12e-v3 ; mv .pio/build/esp12e-v3/firmware.bin release/firmware-HW_v3.x.bin
run: pio run -e esp12e-v3 ; mv .pio/build/esp12e-v3/firmware.bin release/firmware-HW_v3.x-${GITHUB_SHA::6}.bin
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit be7bb38

Please sign in to comment.