File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 4545 uses : actions/upload-artifact@v4
4646 with :
4747 name : esp32c5-firmware
48- path : ports/esp32/build-SEEED_XIAO_ESP32C5/firmware.bin
48+ path : lib/micropython/ports/esp32/build-SEEED_XIAO_ESP32C5/micropython.bin
49+
50+ # Upload Xiao nRF52840 artifacts to Release (only on release event)
51+ - name : Upload Xiao nRF52840 artifacts to Release
52+ if : github.event_name == 'release'
53+ run : |
54+ mv lib/micropython/ports/esp32/build-SEEED_XIAO_ESP32C5/micropython.bin lib/micropython/ports/esp32/build-SEEED_XIAO_ESP32C5/micropython_xiao_esp32c5.bin
55+ gh release upload ${{ github.event.release.tag_name }} \
56+ lib/micropython/ports/esp32/build-SEEED_XIAO_ESP32C5/micropython_xiao_esp32c5.bin \
57+ --clobber
58+ env :
59+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments