[1.0.7] Minor improvements #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
release: | |
types: [ created ] | |
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@v2 | |
- 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" |