Skip to content

Commit bd038b8

Browse files
author
Aien Saidi
committed
add release action for all platforms
1 parent 0faffe9 commit bd038b8

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/go.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@ on:
66

77
jobs:
88

9-
build:
10-
name: Build
9+
releases-matrix:
10+
name: Release Go Binary
1111
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
goos: [linux, windows, darwin]
15+
goarch: [amd64]
1216
steps:
1317
- uses: actions/checkout@v2
1418
- uses: wangyoucao577/go-release-action@master
1519
with:
1620
github_token: ${{ secrets.GITHUB_TOKEN }}
17-
goos: linux
18-
goarch: amd64
21+
goos: ${{ matrix.goos }}
22+
goarch: ${{ matrix.goarch }}

0 commit comments

Comments
 (0)