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:
Jakub
2026-06-16 09:54:58 +02:00
parent 8006049e2a
commit 7a1f19dd6f

View File

@@ -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