Skip to content

Commit 0ae6988

Browse files
committed
Publish binaries to releases (#29)
1 parent def5073 commit 0ae6988

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on:
2+
release:
3+
types: [created]
4+
5+
jobs:
6+
release:
7+
strategy:
8+
matrix:
9+
os: [ darwin, linux, windows ]
10+
arch: [ amd64, 386, arm64, arm, ]
11+
name: release ${{ matrix.os }}/${{ matrix.arch }}
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: wangyoucao577/[email protected]
16+
if: matrix.os != 'darwin' || matrix.arch != '386' && matrix.arch != 'arm'
17+
with:
18+
github_token: ${{ secrets.GITHUB_TOKEN }}
19+
goos: ${{ matrix.os }}
20+
goarch: ${{ matrix.arch }}

0 commit comments

Comments
 (0)