Skip to content

Commit b6c62b0

Browse files
authored
👷 Support darwin-arm64 (#36)
* 👷 Support `darwin-arm64` * 👷 Change back to `cli/gh-extension-precompile` https://github.com/cli/gh-extension-precompile
1 parent 6787a9d commit b6c62b0

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,7 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
17-
with:
18-
fetch-depth: 0
19-
20-
- run: git fetch --force --tags
21-
22-
- uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
23-
with:
24-
go-version: stable
2517

26-
- uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b
18+
- uses: cli/gh-extension-precompile@640911b0a0f2adb89a07a8ba547053cbd4001e1e
2719
with:
28-
distribution: goreleaser
29-
version: latest
30-
args: release --clean
31-
env:
32-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
go_version: 1.20.x

.goreleaser.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ builds:
1111
- linux
1212
- windows
1313
- darwin
14+
goarch:
15+
- "386"
16+
- amd64
17+
- arm
18+
- arm64
1419

1520
archives:
1621
- name_template: >-

0 commit comments

Comments
 (0)