Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Update release action
Browse files Browse the repository at this point in the history
  • Loading branch information
jweny committed May 21, 2021
1 parent 28feb2c commit eb0b657
Showing 1 changed file with 45 additions and 11 deletions.
56 changes: 45 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,38 +66,72 @@ jobs:
draft: false
prerelease: true

- name: Upload Release windows
- name: Upload Release - Windows amd64
uses: actions/[email protected]
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: ./pocassist-windows-x64.zip
asset_name: pocassist-${{ steps.create_release.outputs.tag }}-windows-x64.zip
asset_path: ./pocassist_windows_amd64.zip
asset_name: pocassist_windows_amd64.zip
asset_content_type: application/zip

- name: Upload Release linux
- name: Upload Release - Windows 386
uses: actions/[email protected]
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: ./pocassist-linux-x64.zip
asset_name: pocassist-${{ steps.create_release.outputs.tag }}-linux-x64.zip
asset_path: ./pocassist_windows_386.zip
asset_name: pocassist_windows_386.zip
asset_content_type: application/zip

- name: Upload Release cgo darwin
- name: Upload Release - Linux amd64
uses: actions/[email protected]
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: ./pocassist-darwin-x64.zip
asset_name: pocassist-${{ steps.create_release.outputs.tag }}-darwin-x64.zip
asset_path: ./pocassist_linux_amd64.zip
asset_name: pocassist_linux_amd64.zip
asset_content_type: application/zip

- name: Upload Release - Linux 386
uses: actions/[email protected]
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: ./pocassist_linux_386.zip
asset_name: pocassist_linux_386.zip
asset_content_type: application/zip

- name: Upload Release - Linux arm64
uses: actions/[email protected]
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: ./pocassist_linux_arm64.zip
asset_name: pocassist_linux_arm64.zip
asset_content_type: application/zip

- name: Upload Release - Linux arm
uses: actions/[email protected]
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: ./pocassist_linux_arm.zip
asset_name: pocassist_linux_arm.zip
asset_content_type: application/zip



- name: Upload Release - Darwin amd64
uses: actions/[email protected]
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: ./pocassist_darwin_amd64.zip
asset_name: pocassist_darwin_amd64.zip
asset_content_type: application/zip

0 comments on commit eb0b657

Please sign in to comment.