Skip to content

Commit 9531c98

Browse files
authored
build: Add support for darwin/arm64 build (#100)
1 parent eee39f7 commit 9531c98

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,16 @@ jobs:
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v2
16+
with:
17+
fetch-depth: 0
1618
- name: Set up Go
1719
uses: actions/[email protected]
1820
with:
1921
go-version: 1.16
2022
- name: Run GoReleaser
23+
uses: goreleaser/goreleaser-action@v2
24+
with:
25+
version: v0.169.0
26+
args: release --rm-dist
2127
env:
2228
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23-
VERSION: v0.143.0
24-
run: curl -sL https://git.io/goreleaser | bash

.goreleaser.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ builds:
1414
- 386
1515
- amd64
1616
- arm
17+
- arm64
1718
archives:
1819
- id: zip
1920
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"

0 commit comments

Comments
 (0)