File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 tags :
66 - " v*"
77
8+ permissions :
9+ contents : write
10+
811jobs :
912 test :
1013 runs-on : ubuntu-latest
@@ -27,19 +30,19 @@ jobs:
2730 fail-fast : false
2831 matrix :
2932 include :
30- - os : ubuntu-latest
33+ - os : ubuntu-latest # linux/amd64
3134 goos : linux
3235 goarch : amd64
33- - os : ubuntu-latest
36+ - os : ubuntu-24.04-arm # linux/arm64 — native arm64 runner
3437 goos : linux
3538 goarch : arm64
36- - os : macos-latest
39+ - os : macos-13 # darwin/amd64 — native Intel runner
3740 goos : darwin
3841 goarch : amd64
39- - os : macos-latest
42+ - os : macos-latest # darwin/arm64 — native Apple Silicon
4043 goos : darwin
4144 goarch : arm64
42- - os : windows-latest
45+ - os : windows-latest # windows/amd64
4346 goos : windows
4447 goarch : amd64
4548 steps :
5356
5457 - name : Compute version
5558 id : version
59+ shell : bash
5660 run : echo "version=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
5761
5862 - name : Build binary
63+ shell : bash
5964 env :
6065 GOOS : ${{ matrix.goos }}
6166 GOARCH : ${{ matrix.goarch }}
You can’t perform that action at this time.
0 commit comments