v2.0.2 #4
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
name: Build Binary | |
on: | |
release: | |
types: [published] | |
permissions: | |
contents: write | |
packages: write | |
# Please refer to https://github.com/wangyoucao577/go-release-action | |
jobs: | |
releases-matrix: | |
name: Release Go Binary | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# We can adjust which platforms we are targeting but we mainly expect | |
# linux/amd64 to be the default | |
goos: [linux] | |
goarch: [amd64] #, arm64] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: wangyoucao577/go-release-action@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
goos: ${{ matrix.goos }} | |
goarch: ${{ matrix.goarch }} | |
goversion: "1.22" | |
extra_files: LICENSE README.md |