-
Notifications
You must be signed in to change notification settings - Fork 3
32 lines (31 loc) · 944 Bytes
/
go.yml
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
on:
release:
types: [ created ]
workflow_dispatch:
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
# build and publish in parallel a lot of binaries
# https://golang.org/doc/install/source#environment See supported Go OS/Arch pairs here
goos: [ linux, darwin, openbsd, netbsd, dragonfly, plan9, windows ]
goarch: [ amd64, arm64 ]
exclude:
- goarch: arm64
goos: windows
- goarch: arm64
goos: dragonfly
- goarch: arm64
goos: plan9
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: "vpub-plus"
extra_files: LICENSE README.md
ldflags: "-s -w"