Skip to content

Commit

Permalink
test: 尝试新的Action Runner
Browse files Browse the repository at this point in the history
  • Loading branch information
hamster1963 committed Jul 15, 2023
1 parent c313718 commit ce1c4e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
changelog:
name: Generate changelog
runs-on: ubuntu-latest
runs-on: macos-latest
outputs:
release_body: ${{ steps.git-cliff.outputs.content }}
steps:
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:


build-go-binary:
runs-on: ubuntu-latest
runs-on: macos-latest
strategy:
matrix:
goos: [windows] # 需要打包的系统
Expand All @@ -52,7 +52,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }} # 一个默认的变量,用来实现往 Release 中添加文件
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: 1.19 # 可以指定编译使用的 Golang 版本
goversion: 1.18 # 可以指定编译使用的 Golang 版本
binary_name: "updater" # 可以指定二进制文件的名称
pre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0
overwrite: true
Expand Down

0 comments on commit ce1c4e9

Please sign in to comment.