Skip to content

Build and release version #7

Build and release version

Build and release version #7

Workflow file for this run

name: Build and release version
on:
release:
types: [published]
jobs:
release:
name: Build and release
runs-on: ubuntu-latest
strategy:
matrix:
# build and publish in parallel: linux/amd64, linux/arm64, darwin/amd64, darwin/arm64, windows/amd64
goos: [linux, darwin, windows]
goarch: [amd64, arm64]
exclude:
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@8e2116aa9c424a511d927c3be0210853cbf78016 # v1.33
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
extra_files: LICENSE README.md