From 022cc69a50f0f10073cc0928d657f5ab6ce04909 Mon Sep 17 00:00:00 2001 From: Joseph Naberhaus Date: Wed, 2 Nov 2022 09:48:51 -0500 Subject: [PATCH] Build an ARM release --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb4cb14..1829c6f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,3 +1,4 @@ + on: release: types: [created] @@ -8,9 +9,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - # build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/386, darwin/amd64 goos: [linux, windows, darwin] - goarch: [386, amd64] + goarch: [amd64, arm64] steps: - name: Checkout Repository uses: actions/checkout@v2 @@ -20,11 +20,11 @@ jobs: - name: Find release tag run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Build versions - uses: wangyoucao577/go-release-action@v1.12 + uses: wangyoucao577/go-release-action@v1.25 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} goversion: ${{ steps.go_mod.outputs.version }} ldflags: -X "main.version=${{ env.RELEASE_VERSION }}" - extra_files: LICENSE \ No newline at end of file + extra_files: LICENSE