Skip to content

Commit 0424449

Browse files
Merge branch 'PureStorage-OpenConnect:master' into master
2 parents b744951 + 0157add commit 0424449

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/release.yaml

Lines changed: 14 additions & 5 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, arm64]
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
25+
goos: ${{ matrix.goos }}
26+
goarch: ${{ matrix.goarch }}
1827
project_path: "./cmd/fa-om-exporter"

0 commit comments

Comments
 (0)