Skip to content

Commit

Permalink
Fix asset name
Browse files Browse the repository at this point in the history
  • Loading branch information
jlandowner committed Sep 12, 2020
1 parent f5b20c7 commit c8be86b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ jobs:
CR_PAT: ${{ secrets.CR_PAT }}

- name: create release asset
id: create_release_asset
run: |
make release-asset
echo "::set-output name=asset_name::${GITHUB_REPOSITORY##*/}.tar.gz"
- name: create release
id: create_release
Expand All @@ -53,6 +55,6 @@ jobs:
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: ./${GITHUB_REPOSITORY##*/}.tar.gz
asset_name: ${GITHUB_REPOSITORY##*/}.tar.gz
asset_path: ${{ steps.create_release_asset.outputs.asset_name }}
asset_name: ${{ steps.create_release_asset.outputs.asset_name }}
asset_content_type: application/x-tar

0 comments on commit c8be86b

Please sign in to comment.