Skip to content

Commit 3a6ad2c

Browse files
committed
fix: goos values
1 parent 0ca34b3 commit 3a6ad2c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@ jobs:
1616
include:
1717
- os: ubuntu-latest
1818
os_name: ubuntu
19+
goos: linux
1920
artifact_suffix: ""
2021
- os: windows-latest
2122
os_name: windows
23+
goos: windows
2224
artifact_suffix: ".exe"
2325
- os: macos-latest
2426
os_name: macos
27+
goos: darwin
2528
artifact_suffix: ""
2629
runs-on: ${{ matrix.os }}
2730
steps:
@@ -32,7 +35,7 @@ jobs:
3235
- name: golang build
3336
env:
3437
GOARCH: ${{ matrix.arch }}
35-
GOOS: ${{ matrix.os_name }}
38+
GOOS: ${{ matrix.goos }}
3639
CGO_ENABLED: 0
3740
run: go build -o gitops -ldflags="-s -w -X 'main.version=${{ github.ref_name }}'" cmd/gitops/main.go
3841
- name: Upload binaries to release

0 commit comments

Comments
 (0)