Skip to content

Commit bcc2e41

Browse files
committed
Improve release process
Signed-off-by: Marc Schöchlin <[email protected]>
1 parent 243c7c4 commit bcc2e41

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/common-steps.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,8 @@ jobs:
3232
tar -czvf ../hostctl-v${{ github.ref_name }}.tar.gz hostctl
3333
tar tzvf ../hostctl-v${{ github.ref_name }}.tar.gz
3434
- name: Upload tarball as release asset
35-
id: upload-release-asset
36-
uses: actions/upload-release-asset@v1
35+
uses: actions/upload-artifact@v4
3736
if: ${{ inputs.build-type == 'release' }}
38-
env:
39-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4037
with:
41-
upload_url: ${{ steps.create_release.outputs.upload_url }}
42-
asset_path: ./hostctl-v${{ github.ref_name }}.tar.gz
43-
asset_name: hostctl-v${{ github.ref_name }}.tar.gz
44-
asset_content_type: application/gzip
38+
name: ./hostctl-v${{ github.ref_name }}.tar.gz
39+
path: hostctl-v${{ github.ref_name }}.tar.gz

0 commit comments

Comments
 (0)