Skip to content

Commit

Permalink
New release action with builds for other archs and OSes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Macmod committed Mar 15, 2023
1 parent 0d8c497 commit 8d9595e
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,23 @@ on:
types: [created]

jobs:
release-linux-amd64:
name: release linux/amd64
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows, darwin]
goarch: ["386", amd64, arm64]
exclude:
- goarch: "386"
goos: darwin
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
extra_files: LICENSE README.md

0 comments on commit 8d9595e

Please sign in to comment.