Skip to content

Commit 37e16c6

Browse files
authored
Use gh CLI to create releases (#83)
1 parent f5dd130 commit 37e16c6

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,10 @@ jobs:
7575
env:
7676
GH_TOKEN: ${{ github.token }}
7777
78-
- uses: softprops/action-gh-release@v1
79-
if: steps.tag.outputs.push_tag == 'yes'
80-
with:
81-
files: "dist/*"
82-
tag_name: v${{ steps.tag.outputs.version }}
83-
78+
- if: steps.tag.outputs.push_tag == 'yes'
79+
run: gh release create --generate-notes v${{ steps.tag.outputs.version }} dist/*
80+
env:
81+
GH_TOKEN: ${{ github.token }}
8482

8583
- uses: rust-lang/crates-io-auth-action@v1
8684
id: auth

0 commit comments

Comments
 (0)