Skip to content

Commit 58c9fff

Browse files
authored
Merge pull request #63 from PureStorage-OpenConnect/windows_release
Add Windows AMD64 to release binary
2 parents 0d0577a + e969ad8 commit 58c9fff

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

.github/workflows/release.yaml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,24 @@ on:
44
release:
55
types: [created]
66

7+
permissions:
8+
contents: write
9+
packages: write
10+
711
jobs:
8-
release-linux-amd64:
9-
name: release linux/amd64
12+
releases-matrix:
13+
name: Release Go Binary
1014
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
# build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64
18+
goos: [linux, windows]
19+
goarch: [amd64]
1120
steps:
12-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
1322
- uses: wangyoucao577/go-release-action@v1
1423
with:
1524
github_token: ${{ secrets.GITHUB_TOKEN }}
16-
goos: linux
17-
goarch: amd64
18-
project_path: cmd/fb-om-exporter
25+
goos: ${{ matrix.goos }}
26+
goarch: ${{ matrix.goarch }}
27+
project_path: "./cmd/fb-om-exporter"

0 commit comments

Comments
 (0)