|
@@ -157,7 +157,7 @@ jobs:
|
|
|
|
|
|
|
|
find build/openpuck build/openpuck-recovery \
|
|
find build/openpuck build/openpuck-recovery \
|
|
|
-maxdepth 1 -type f \
|
|
-maxdepth 1 -type f \
|
|
|
- \( -name '*.uf2' -o -name '*.zip' \) \
|
|
|
|
|
|
|
+ \( -name '*.uf2' -o -name '*.hex' -o -name '*.zip' \) \
|
|
|
-print | while read -r f; do
|
|
-print | while read -r f; do
|
|
|
# Keep only the extension; the arduino base name (OpenPuck.ino.*)
|
|
# Keep only the extension; the arduino base name (OpenPuck.ino.*)
|
|
|
# is redundant once we prefix with OpenPuck-<version>-<flavor>.
|
|
# is redundant once we prefix with OpenPuck-<version>-<flavor>.
|
|
@@ -173,7 +173,7 @@ jobs:
|
|
|
|
|
|
|
|
find build/reversepuck \
|
|
find build/reversepuck \
|
|
|
-maxdepth 1 -type f \
|
|
-maxdepth 1 -type f \
|
|
|
- \( -name '*.uf2' -o -name '*.zip' \) \
|
|
|
|
|
|
|
+ \( -name '*.uf2' -o -name '*.hex' -o -name '*.zip' \) \
|
|
|
-print | while read -r f; do
|
|
-print | while read -r f; do
|
|
|
ext="${f##*.}"
|
|
ext="${f##*.}"
|
|
|
cp "$f" "release_assets/ReversePuckFirmware-${VERSION}.${ext}"
|
|
cp "$f" "release_assets/ReversePuckFirmware-${VERSION}.${ext}"
|
|
@@ -201,5 +201,6 @@ jobs:
|
|
|
- `ReversePuckFirmware-*.*` — reverse-puck firmware (controller emulator)
|
|
- `ReversePuckFirmware-*.*` — reverse-puck firmware (controller emulator)
|
|
|
- `.zip` files for Adafruit DFU tool
|
|
- `.zip` files for Adafruit DFU tool
|
|
|
- `.uf2` files for drag-and-drop flashing (BOOT/UF2 drive)
|
|
- `.uf2` files for drag-and-drop flashing (BOOT/UF2 drive)
|
|
|
|
|
+ - `.hex` files for direct flashing workflows
|
|
|
env:
|
|
env:
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|