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 243c7c4 commit bcc2e41
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/common-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,8 @@ 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
id: upload-release-asset
uses: actions/upload-release-asset@v1
uses: actions/upload-artifact@v4
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
asset_name: hostctl-v${{ github.ref_name }}.tar.gz
asset_content_type: application/gzip
name: ./hostctl-v${{ github.ref_name }}.tar.gz
path: hostctl-v${{ github.ref_name }}.tar.gz

0 comments on commit bcc2e41

Please sign in to comment.