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