We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e5bb74 commit ea47e68Copy full SHA for ea47e68
.github/workflows/main.yml
@@ -32,12 +32,9 @@ jobs:
32
- run: ./dist/ncp-${{ matrix.name }} --help
33
- id: vars
34
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/*
+ - uses: softprops/action-gh-release@v2.0.6
+ with:
+ files: dist/*
+ tag_name: ${{ steps.vars.outputs.sha_short }}
+ name: Release ${{ steps.vars.outputs.sha_short }}
+ token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments