Skip to content

Commit

Permalink
added upload release asset
Browse files Browse the repository at this point in the history
  • Loading branch information
6missedcalls committed Sep 27, 2022
1 parent fdbcc5e commit 7a787a6
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,15 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Changes in this Release
- First Change
- Second Change
draft: false
prerelease: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
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: ./build/darwin-build-darwin-amd64.tar.gz
asset_name: darwin-build-darwin-amd64.tar.gz
asset_content_type: application/gzip

0 comments on commit 7a787a6

Please sign in to comment.