Skip to content

Commit 8d9595e

Browse files
committed
New release action with builds for other archs and OSes.
1 parent 0d8c497 commit 8d9595e

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,23 @@ on:
55
types: [created]
66

77
jobs:
8-
release-linux-amd64:
9-
name: release linux/amd64
8+
releases-matrix:
9+
name: Release Go Binary
1010
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
goos: [linux, windows, darwin]
14+
goarch: ["386", amd64, arm64]
15+
exclude:
16+
- goarch: "386"
17+
goos: darwin
18+
- goarch: arm64
19+
goos: windows
1120
steps:
1221
- uses: actions/checkout@v3
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 }}
27+
extra_files: LICENSE README.md

0 commit comments

Comments
 (0)