Skip to content

Commit a0990d4

Browse files
authored
Create release.yml
1 parent 43cbea5 commit a0990d4

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/release.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
on:
2+
release:
3+
types: [created]
4+
5+
6+
jobs:
7+
releases-matrix:
8+
name: Release Go Binary
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
goos: [linux, windows, darwin]
13+
goarch: [amd64, ppc64le]
14+
exclude:
15+
- goarch: ppc64le
16+
goos: windows
17+
- goarch: ppc64le
18+
goos: darwin
19+
steps:
20+
- uses: actions/checkout@v3
21+
- uses: wangyoucao577/[email protected]
22+
with:
23+
github_token: ${{ secrets.GITHUB_TOKEN }}
24+
goos: ${{ matrix.goos }}
25+
goarch: ${{ matrix.goarch }}
26+
goversion: 1.18
27+
sha256sum: true
28+
md5sum: false

0 commit comments

Comments
 (0)