File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,15 +24,13 @@ jobs:
2424 - make-release
2525 strategy :
2626 matrix :
27- goos : [linux, freebsd, darwin, windows]
27+ goos : [linux, freebsd, windows]
2828 goarch : [amd64, arm64, riscv64]
2929 exclude :
3030 - goarch : arm64
3131 goos : windows
3232 - goarch : riscv64
3333 goos : windows
34- - goarch : riscv64
35- goos : darwin
3634 - goarch : arm64
3735 goos : freebsd
3836 steps :
4240 github_token : ${{ secrets.GITHUB_TOKEN }}
4341 goos : ${{ matrix.goos }}
4442 goarch : ${{ matrix.goarch }}
43+ ldflags : -X main.version=${{ github. ref_name }}
44+ overwrite : true
45+ md5sum : false
46+ sha256sum : false
47+ compress_assets : false
48+
49+ build-darwin :
50+ runs-on : macos-latest
51+ needs :
52+ - make-release
53+ strategy :
54+ matrix :
55+ goarch : [amd64, arm64]
56+ steps :
57+ - uses : actions/checkout@v3
58+ - name : Install macFUSE
59+ run : brew install --cask macfuse
60+ - uses : wangyoucao577/go-release-action@v1.40
61+ with :
62+ github_token : ${{ secrets.GITHUB_TOKEN }}
63+ goos : darwin
64+ goarch : ${{ matrix.goarch }}
4565 ldflags : -X main.version=${{ github.ref_name }}
4666 overwrite : true
4767 md5sum : false
You can’t perform that action at this time.
0 commit comments