We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6b4b81 commit 96cf95fCopy full SHA for 96cf95f
1 file changed
.github/workflows/release-binaries.yml
@@ -4,6 +4,9 @@ on:
4
release:
5
types: [published]
6
7
+permissions:
8
+ contents: write
9
+
10
jobs:
11
build:
12
name: Build ${{ matrix.target }}
@@ -52,8 +55,6 @@ jobs:
52
55
zip ../../../vx-${{ matrix.target }}.zip vx.exe
53
56
54
57
- name: Upload release asset
- uses: softprops/action-gh-release@v2
- with:
- files: vx-${{ matrix.target }}.${{ matrix.archive == 'tgz' && 'tar.gz' || 'zip' }}
58
+ run: gh release upload "${{ github.event.release.tag_name }}" vx-${{ matrix.target }}.${{ matrix.archive == 'tgz' && 'tar.gz' || 'zip' }}
59
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments