Update release.yml

This commit is contained in:
EngiGu
2024-01-01 18:51:27 +08:00
committed by GitHub
parent 2fc23184c5
commit b65021cb7b
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.30
with:
github_token: ${{ secrets.GITHUB_TOKEN }} # 一个默认的变量,用来实现往 Release 中添加文件
github_token: ${{ secrets.REPO_GITHUB_TOKEN }} # 一个默认的变量,用来实现往 Release 中添加文件
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: 1.20 # 可以指定编译使用的 Golang 版本