Skip to content

Commit

Permalink
package everythin in one zip
Browse files Browse the repository at this point in the history
  • Loading branch information
rodja committed Oct 21, 2022
1 parent 0691a88 commit 0f63c4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
tag_name: ${{ steps.version_id.outputs.value }}
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Zip devtools
run: "zip devtools.zip -@ < .github/devtools.txt"
- name: Zip bins and tools
run: "zip lizard.zip -@ < .github/zip_content.txt"
- name: Upload artifacts
uses: actions/upload-release-asset@v1
env:
Expand All @@ -51,8 +51,8 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: devtools.zip
asset_name: lizard_devtools_${{ steps.version_id.outputs.value }}.zip
asset_path: lizard.zip
asset_name: lizard_firmware_and_devtools_${{ steps.version_id.outputs.value }}.zip
asset_content_type: application/zip

docs:
Expand Down
3 changes: 3 additions & 0 deletions .github/devtools.txt → .github/zip_content.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
build/bootloader/bootloader.bin
build/partition_table/partition-table.bin
build/lizard.bin
backtrace.sh
upload_ths1.sh
upload_ths0_xavier.sh
Expand Down

0 comments on commit 0f63c4e

Please sign in to comment.