Skip to content

Commit

Permalink
Build an ARM release
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephNaberhaus authored Nov 2, 2022
1 parent 7fef990 commit 022cc69
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

on:
release:
types: [created]
Expand All @@ -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
Expand All @@ -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
extra_files: LICENSE

0 comments on commit 022cc69

Please sign in to comment.