ci: support darwn/arm64 aka m1 for cli (#2473)

Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
bobby 2021-08-20 12:42:54 -07:00 committed by GitHub
parent 05b5de8d30
commit e3770e29ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -26,6 +26,9 @@ builds:
goos: goos:
- linux - linux
- darwin - darwin
ignore:
- goos: darwin
goarch: arm64
ldflags: ldflags:
- -s -w - -s -w

View file

@ -43,7 +43,7 @@ jobs:
- name: Run GoReleaser - name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2 uses: goreleaser/goreleaser-action@v2
with: with:
version: v0.155.2 version: v0.174.2
args: release --config .github/goreleaser.yaml args: release --config .github/goreleaser.yaml
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}