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 c3ade30 commit 243c7c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/common-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
tar -czvf ../hostctl-v${{ github.ref_name }}.tar.gz hostctl
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 }}
if: ${{ inputs.build-type == 'release' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./hostctl-v${{ github.ref_name }}.tar.gz
Expand Down

0 comments on commit 243c7c4

Please sign in to comment.