Skip to content

Commit

Permalink
Add release matrix and update version
Browse files Browse the repository at this point in the history
  • Loading branch information
chuttmateo authored May 7, 2024
1 parent ffcf63f commit d31b639
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,23 @@ permissions:
packages: write

jobs:
release-linux-amd64:
name: release linux/amd64
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
# build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64
goos: [linux, windows, darwin]
goarch: ["386", amd64, arm64]
exclude:
- goarch: "386"
goos: darwin
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
- uses: wangyoucao577/go-release-action@v1.50
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}

0 comments on commit d31b639

Please sign in to comment.