We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ca34b3 commit 3a6ad2cCopy full SHA for 3a6ad2c
1 file changed
.github/workflows/release.yml
@@ -16,12 +16,15 @@ jobs:
16
include:
17
- os: ubuntu-latest
18
os_name: ubuntu
19
+ goos: linux
20
artifact_suffix: ""
21
- os: windows-latest
22
os_name: windows
23
+ goos: windows
24
artifact_suffix: ".exe"
25
- os: macos-latest
26
os_name: macos
27
+ goos: darwin
28
29
runs-on: ${{ matrix.os }}
30
steps:
@@ -32,7 +35,7 @@ jobs:
32
35
- name: golang build
33
36
env:
34
37
GOARCH: ${{ matrix.arch }}
- GOOS: ${{ matrix.os_name }}
38
+ GOOS: ${{ matrix.goos }}
39
CGO_ENABLED: 0
40
run: go build -o gitops -ldflags="-s -w -X 'main.version=${{ github.ref_name }}'" cmd/gitops/main.go
41
- name: Upload binaries to release
0 commit comments