Skip to content

Commit ea47e68

Browse files
committed
try fixing tag name
1 parent 0e5bb74 commit ea47e68

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,9 @@ jobs:
3232
- run: ./dist/ncp-${{ matrix.name }} --help
3333
- id: vars
3434
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
35-
36-
- env:
37-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38-
run: |
39-
gh release create \
40-
--target ${{ steps.vars.outputs.sha_short }} \
41-
--title "Release ${{ steps.vars.outputs.sha_short }}" \
42-
${{ steps.vars.outputs.sha_short }} \
43-
dist/*
35+
- uses: softprops/action-gh-release@v2.0.6
36+
with:
37+
files: dist/*
38+
tag_name: ${{ steps.vars.outputs.sha_short }}
39+
name: Release ${{ steps.vars.outputs.sha_short }}
40+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)