Skip to content

Commit 24a657d

Browse files
committed
fix(release): add support for building ARM64 binaries for macOS
1 parent 5f42367 commit 24a657d

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/release.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ jobs:
6363
GOOS=linux GOARCH=amd64 go build -o /app/releases/bin/gomorse_\${VERSION}_linux_amd64 /app/main.go && \
6464
GOOS=linux GOARCH=arm64 go build -o /app/releases/bin/gomorse_\${VERSION}_linux_arm64 /app/main.go && \
6565
GOOS=windows GOARCH=amd64 go build -o /app/releases/bin/gomorse_\${VERSION}_windows_amd64.exe /app/main.go && \
66-
GOOS=darwin GOARCH=amd64 go build -o /app/releases/bin/gomorse_\${VERSION}_darwin_amd64 /app/main.go"
66+
GOOS=darwin GOARCH=amd64 go build -o /app/releases/bin/gomorse_\${VERSION}_darwin_amd64 /app/main.go && \
67+
GOOS=darwin GOARCH=arm64 go build -o /app/releases/bin/gomorse_\${VERSION}_darwin_arm64 /app/main.go \
68+
"
6769
6870
6971
@@ -99,21 +101,21 @@ jobs:
99101
uses: softprops/action-gh-release@v1
100102
with:
101103
tag_name: ${{ steps.get_tag.outputs.TAG }}
102-
name: GoMorse ${{ steps.get_tag.outputs.TAG }}
104+
name: gomorse ${{ steps.get_tag.outputs.TAG }}
103105
body: |
104-
# GoMorse Release ${{ steps.get_tag.outputs.TAG }}
106+
# gomorse Release ${{ steps.get_tag.outputs.TAG }}
105107
106108
## Changes
107109
${{ steps.changelog.outputs.CHANGELOG }}
108110
109111
## Installation
110112
111113
### Client Binaries
112-
- Linux (AMD64): `akoflow-client_${{ steps.get_version.outputs.VERSION }}_linux_amd64`
113-
- Linux (ARM64): `akoflow-client_${{ steps.get_version.outputs.VERSION }}_linux_arm64`
114-
- Windows (AMD64): `akoflow-client_${{ steps.get_version.outputs.VERSION }}_windows_amd64.exe`
115-
- macOS (AMD64): `akoflow-client_${{ steps.get_version.outputs.VERSION }}_darwin_amd64`
116-
- macOS (ARM64): `akoflow-client_${{ steps.get_version.outputs.VERSION }}_darwin_arm64`
114+
- Linux (AMD64): `gomorse_${{ steps.get_version.outputs.VERSION }}_linux_amd64`
115+
- Linux (ARM64): `gomorse_${{ steps.get_version.outputs.VERSION }}_linux_arm64`
116+
- Windows (AMD64): `gomorse_${{ steps.get_version.outputs.VERSION }}_windows_amd64.exe`
117+
- macOS (AMD64): `gomorse_${{ steps.get_version.outputs.VERSION }}_darwin_amd64`
118+
- macOS (ARM64): `gomorse_${{ steps.get_version.outputs.VERSION }}_darwin_arm64`
117119
118120
Download the appropriate binary for your platform, make it executable, and add it to your PATH.
119121

0 commit comments

Comments
 (0)