Skip to content

Commit a9e07e3

Browse files
committed
fix(release): upload assets with gh cli
1 parent ecbd66c commit a9e07e3

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,6 @@ jobs:
111111

112112
- name: Upload to GitHub Release
113113
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
114-
uses: softprops/action-gh-release@v2
115-
with:
116-
tag_name: ${{ env.RELEASE_TAG }}
117-
files: |
118-
release/*Setup*.exe
119-
release/*.blockmap
120-
fail_on_unmatched_files: true
121114
env:
122-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
115+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
116+
run: gh release upload "$RELEASE_TAG" release/*Setup*.exe release/*.blockmap --clobber

0 commit comments

Comments
 (0)