Skip to content

Commit f70bc90

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

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/common-steps.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,9 @@ jobs:
2929
target/release/hostctl generate-completions zsh > release/hostctl/misc/hostctl_zsh_completion.sh
3030
target/release/hostctl generate-completions fish > release/hostctl/misc/hostctl_fish_completion.sh
3131
cd release
32-
tar -czvf ../hostctl-v${{ github.ref_name }}.tar.gz hostctl
3332
tar tzvf ../hostctl-v${{ github.ref_name }}.tar.gz
34-
- name: Upload tarball as release asset
35-
uses: actions/upload-artifact@v4
33+
- name: Create release and upload it
34+
uses: ncipollo/release-action@v1
3635
if: ${{ inputs.build-type == 'release' }}
3736
with:
38-
name: release-v${{ github.ref_name }}
39-
path: hostctl-v${{ github.ref_name }}.tar.gz
37+
artifacts: "hostctl-v${{ github.ref_name }}.tar.gz"

0 commit comments

Comments
 (0)