mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
ci(solo): attach nRF52 OTA DFU zip to release assets
The solo build already copies firmware.zip (the adafruit-nrfutil DFU package used for OTA / BLE-DFU updates) into out/, so it was present in the Actions artifact but never in the tagged GitHub Release. Give it a friendly name (solo-<ver>-<device>-ota.zip) and include out/*.zip in the release files. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
6
.github/workflows/build-solo-firmwares.yml
vendored
6
.github/workflows/build-solo-firmwares.yml
vendored
@@ -63,6 +63,8 @@ jobs:
|
||||
run: |
|
||||
DEVICE_NAME=$(echo "${{ matrix.env }}" | sed 's/_solo_dual$//;s/_companion$//' | tr '_' '-')
|
||||
mv out/*.uf2 "out/solo-${{ env.BUILD_VERSION }}-${DEVICE_NAME}.uf2" 2>/dev/null || true
|
||||
# nRF52 DFU package (adafruit-nrfutil) — used for OTA / BLE-DFU updates.
|
||||
mv out/*.zip "out/solo-${{ env.BUILD_VERSION }}-${DEVICE_NAME}-ota.zip" 2>/dev/null || true
|
||||
|
||||
- name: Upload Firmware
|
||||
uses: actions/upload-artifact@v4
|
||||
@@ -92,4 +94,6 @@ jobs:
|
||||
name: Solo ${{ env.GIT_TAG_VERSION }}
|
||||
body: ""
|
||||
draft: true
|
||||
files: out/*.uf2
|
||||
files: |
|
||||
out/*.uf2
|
||||
out/*.zip
|
||||
|
||||
Reference in New Issue
Block a user