Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: update firmware packaging to zip the output into a single archive for upload to release #76

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading