Skip to content

Commit 01d899e

Browse files
committed
Simplify uploading release assets
1 parent 8a4a746 commit 01d899e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,8 @@ jobs:
118118
119119
- # Upload the build artifacts to the release
120120
name: Upload the build artifacts to release
121-
uses: svenstaro/upload-release-action@v2
122121
if: github.event_name == 'release'
123-
with:
124-
repo_token: ${{ secrets.GITHUB_TOKEN }}
125-
file: dist/*
126-
file_glob: true
127-
tag: ${{ github.ref }}
122+
run: gh release upload ${{ github.ref_name }} dist/*
123+
env:
124+
GH_TOKEN: ${{ github.token }}
125+

0 commit comments

Comments
 (0)