File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 1- # .github/workflows/release.yaml
2-
31name : Release Go Binary
42
53on :
64 release :
7- types : [created]
5+ types : [created, published]
6+ workflow_dispatch :
87
98jobs :
109 releases-matrix :
1110 name : Release Go Binary
1211 runs-on : ubuntu-latest
1312 strategy :
1413 matrix :
15- # build and publish in parallel: linux/amd64, windows/amd64
16- goos : [linux, windows]
17- goarch : [amd64]
14+ goos : [linux, windows, darwin]
15+ goarch : [amd64, arm64]
16+ exclude :
17+ - goarch : arm64
18+ goos : windows
1819 steps :
1920 - uses : actions/checkout@v2
2021 - uses : wangyoucao577/go-release-action@v1.17
2122 with :
2223 github_token : ${{ secrets.GITHUB_TOKEN }}
2324 goos : ${{ matrix.goos }}
2425 goarch : ${{ matrix.goarch }}
25- extra_files : LICENSE README.md
26+ extra_files : LICENSE README.md gof.yaml.example
You can’t perform that action at this time.
0 commit comments