Skip to content

Commit

Permalink
Add output.zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Alistair Jordan committed Nov 23, 2023
1 parent 2db8b97 commit 1a88a18
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,14 @@ jobs:
asset_path: ./balloon/output/update.img
asset_name: rootfs.img
asset_content_type: application/img
# # BIGGER THAN 2G if not zipped!
# - name: Upload Release Asset edl.zip
# id: upload-release-asset-debian-edl
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
# asset_path: ./edl.zip
# asset_name: edl.zip
# asset_content_type: application/zip
- name: Upload Release Asset output.zip
id: upload-release-asset-output
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./output.zip
asset_name: output.zip
asset_content_type: application/zip

2 changes: 2 additions & 0 deletions cicd/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/balloon/build.sh
zip /balloon/output.zip /balloon/output

0 comments on commit 1a88a18

Please sign in to comment.