Skip to content

Commit

Permalink
Improve release process
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Schöchlin <[email protected]>
  • Loading branch information
scoopex committed Nov 17, 2024
1 parent 23a2b05 commit c3ade30
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/common-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@ jobs:
tar tzvf ../hostctl-v${{ github.ref_name }}.tar.gz
- name: Upload tarball as release asset
if: ${{ inputs.build-type == 'release' }}
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./hostctl-v${{ github.ref_name }}.tar.gz
asset_name: hostctl-v${{ github.ref_name }}.tar.gz
asset_content_type: application/gzip
asset_content_type: application/gzip

0 comments on commit c3ade30

Please sign in to comment.