Update release.yml
This commit is contained in:
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: wangyoucao577/go-release-action@v1.30
|
- uses: wangyoucao577/go-release-action@v1.30
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }} # 一个默认的变量,用来实现往 Release 中添加文件
|
github_token: ${{ secrets.REPO_GITHUB_TOKEN }} # 一个默认的变量,用来实现往 Release 中添加文件
|
||||||
goos: ${{ matrix.goos }}
|
goos: ${{ matrix.goos }}
|
||||||
goarch: ${{ matrix.goarch }}
|
goarch: ${{ matrix.goarch }}
|
||||||
goversion: 1.20 # 可以指定编译使用的 Golang 版本
|
goversion: 1.20 # 可以指定编译使用的 Golang 版本
|
||||||
|
|||||||
Reference in New Issue
Block a user