Skip to content

Commit

Permalink
fix:ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yanzq committed Jul 10, 2023
1 parent 73a3ae1 commit 34909f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/go-binary-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }} # 一个默认的变量,用来实现往 Release 中添加文件
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
pre_command: export CGO_ENABLED=0
project_path: cmd/gateway
goversion: 1.19 # 可以指定编译使用的 Golang 版本
binary_name: "fds" # 可以指定二进制文件的名称
# extra_files: README.md # 需要包含的额外文件

0 comments on commit 34909f2

Please sign in to comment.