Skip to content

Commit

Permalink
otpcli binary asset
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeswenson committed May 3, 2020
1 parent 7bc0a1a commit 680049a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,23 @@ jobs:
env:
DEPLOY_NAME: ${{matrix.build.name}}
run: .ci/setup_deploy.sh
- name: Upload Release Asset
- name: Upload Release Bin
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{needs.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: ./deploy/otpcli.${{matrix.build.name}}
asset_name: otpcli.${{matrix.build.name}}
asset_content_type: application/octet-stream
- name: Upload Release Tar
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{needs.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: ./deploy/otpcli.${{matrix.build.name}}.tar.xz
asset_name: otpcli-${{matrix.build.type}}-${{matrix.build.features}}
asset_name: otpcli.${{matrix.build.name}}.tar.xz
asset_content_type: application/tar

0 comments on commit 680049a

Please sign in to comment.