From 8d9595ee0784a8098ca3bd3b8b68b4f85321de79 Mon Sep 17 00:00:00 2001 From: Macmod Date: Tue, 14 Mar 2023 21:59:51 -0300 Subject: [PATCH] New release action with builds for other archs and OSes. --- .github/workflows/release.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 18ae419..1ff8659 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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