Skip to content

Commit

Permalink
try fixing tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
sakkyoi committed Jul 3, 2024
1 parent 0e5bb74 commit ea47e68
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,9 @@ jobs:
- run: ./dist/ncp-${{ matrix.name }} --help
- id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create \
--target ${{ steps.vars.outputs.sha_short }} \
--title "Release ${{ steps.vars.outputs.sha_short }}" \
${{ steps.vars.outputs.sha_short }} \
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 comments on commit ea47e68

Please sign in to comment.