Skip to content

Commit

Permalink
build: fix macos amd64 build (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
j178 authored Jun 7, 2024
1 parent c6b4e5c commit f631c08
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
goos: linux
asset_name: redka_linux_amd64.zip
- os: macos-latest
goos: darwin
asset_name: redka_darwin_arm64.zip
- os: macos-13
goos: darwin
asset_name: redka_darwin_amd64.zip
steps:
Expand Down
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ unzip redka_linux_amd64.zip
chmod +x redka
```

macOS (both x86 and ARM/Apple Silicon CPU):
macOS (x86 CPU):

```shell
curl -L -O "https://github.com/nalgeon/redka/releases/download/v0.5.0/redka_darwin_amd64.zip"
Expand All @@ -268,6 +268,17 @@ xattr -d com.apple.quarantine redka
chmod +x redka
```

macOS (ARM/Apple Silicon CPU):

```shell
curl -L -O "https://github.com/nalgeon/redka/releases/download/v0.5.0/redka_darwin_arm64.zip"
unzip redka_darwin_amd64.zip
# remove the build from quarantine
# (macOS disables unsigned binaries)
xattr -d com.apple.quarantine redka
chmod +x redka
```

Or pull with Docker as follows (x86/ARM):

```shell
Expand Down

0 comments on commit f631c08

Please sign in to comment.