rename firmware file

This commit is contained in:
CaCO3
2022-09-10 15:59:57 +02:00
parent cb4ba51eee
commit 4cf190239e

View File

@@ -25,7 +25,7 @@ jobs:
- name: Build Firmware
# run: touch firmware.bin # Testing
run: cd code; platformio run --environment esp32cam; cp .pio/build/esp32cam/firmware.bin ../
run: cd code; platformio run --environment esp32cam; cp .pio/build/esp32cam/firmware.bin ../firmware__${{ github.ref_name }}__${{ steps.vars.outputs.sha_short }}.bin
- name: Set outputs
id: vars
@@ -35,7 +35,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: firmware__${{ github.ref_name }}__${{ steps.vars.outputs.sha_short }}
path: firmware.bin
path: firmware__${{ github.ref_name }}__${{ steps.vars.outputs.sha_short }}.bin
- name: Upload Web interface Artifact
uses: actions/upload-artifact@v3