Skip to content

Commit 5d5c681

Browse files
committed
update workflow
1 parent 04db638 commit 5d5c681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
- id: vars
3333
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
3434
- uses: softprops/action-gh-release@v2
35+
if: startsWith(github.ref, 'refs/tags/')
3536
with:
3637
files: dist/*
3738
tag_name: ${{ steps.vars.outputs.sha_short }}
38-
tag: ${{ steps.vars.outputs.sha_short }}
3939
name: Release ${{ steps.vars.outputs.sha_short }}
4040
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)