mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-17 21:18:31 +03:00
rename firmware file
This commit is contained in:
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build Firmware
|
- name: Build Firmware
|
||||||
# run: touch firmware.bin # Testing
|
# 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
|
- name: Set outputs
|
||||||
id: vars
|
id: vars
|
||||||
@@ -35,7 +35,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: firmware__${{ github.ref_name }}__${{ steps.vars.outputs.sha_short }}
|
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
|
- name: Upload Web interface Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user