Skip to content

Commit

Permalink
ci: update firmware packaging to zip the output into a single archive…
Browse files Browse the repository at this point in the history
… for upload to release (#76)
  • Loading branch information
finger563 committed Jul 4, 2024
1 parent 3153f4c commit 5562a4c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/package_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,15 @@ jobs:
path: '.'
command: './patches.sh && idf.py build'

- name: Zip up firmware binaries
run: |
# zip the firmware bin files and flash args
zip -j -r firmware-binaries.zip build/esp-box-emu.bin build/bootloader/bootloader.bin build/partition_table/partition-table.bin build/flash_args
- name: Upload Build Outputs
uses: actions/upload-artifact@v4
with:
name: build-artifacts
name: firmware-binaries
path: |
build/bootloader/bootloader.bin
build/partition_table/partition-table.bin
Expand All @@ -40,9 +45,4 @@ jobs:
uses: softprops/action-gh-release@v2
if: ${{ github.event.release && github.event.action == 'published' }}
with:
files: |
build/esp-box-emu.bin
build/bootloader/bootloader.bin
build/partition_table/partition-table.bin
build/flash_args
files: firmware-binaries.zip

0 comments on commit 5562a4c

Please sign in to comment.