Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
elit-cx authored Jan 25, 2021
1 parent 5d99fb9 commit 9e9046a
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: |
ls -l /home/runner/work/hello-world-go/hello-world-go/dist
- name: Upload Release Asset
id: upload-release-asset 1
id: upload-release-asset linux
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -58,12 +58,22 @@ jobs:
asset_name: test_nightly-release_linux_amd64.tar.gz
asset_content_type: application/gzip
- name: Upload Release Asset
id: upload-release-asset 2
id: upload-release-asset windows
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: /home/runner/work/hello-world-go/hello-world-go/dist/test_nightly-release_windows_amd64.zip
asset_name: test_nightly-release_windows_amd64.zip
asset_content_type: application/zip
asset_content_type: application/zip
- name: Upload Release Asset
id: upload-release-asset checksums
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: /home/runner/work/hello-world-go/hello-world-go/dist/test_nightly-release_checksums.txt
asset_name: test_nightly-release_checksums.txt
asset_content_type: text/plain

0 comments on commit 9e9046a

Please sign in to comment.