Skip to content

Commit

Permalink
fix: 目前只生成Windows Amd64架构二进制文件
Browse files Browse the repository at this point in the history
fix: 修改生成的文件名与格式
  • Loading branch information
hamster1963 committed Jul 10, 2023
1 parent 19d16d9 commit 8cb3501
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/go-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows, darwin] # 需要打包的系统
goos: [windows] # 需要打包的系统
goarch: [amd64, arm64] # 需要打包的架构
exclude: # 排除某些平台和架构
- goarch: arm64
Expand All @@ -25,4 +25,6 @@ jobs:
binary_name: "speed_cron" # 可以指定二进制文件的名称
pre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0
overwrite: true
asset_name: "speed_cron_${{ matrix.goos }}_${{ matrix.goarch }}" # 可以指定二进制文件的名称
compress_assets: OFF # 可以指定是否压缩二进制文件

0 comments on commit 8cb3501

Please sign in to comment.