-
Notifications
You must be signed in to change notification settings - Fork 1.2k
44 lines (40 loc) · 872 Bytes
/
release.yml
File metadata and controls
44 lines (40 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Release
on:
release:
types: [created]
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
fail-fast: false
matrix:
goos:
- darwin
- freebsd
- linux
- netbsd
- openbsd
- windows
goarch:
- "386"
- amd64
- arm
- arm64
exclude:
- goos: darwin
goarch: "386"
- goos: darwin
goarch: arm
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.28
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "1.19"
md5sum: false
sha256sum: true