Skip to content

Commit 1ef7936

Browse files
committed
ci: set quill install for arm vs intel mac
1 parent 12c040d commit 1ef7936

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/menlo-build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,15 @@ jobs:
494494
- name: Install Quill for notarization
495495
if: runner.os == 'macOS'
496496
run: |
497-
curl -sSfL https://raw.githubusercontent.com/anchore/quill/main/install.sh | sh -s -- -b /usr/local/bin
497+
ARCH=$(uname -m)
498+
echo "Detected architecture: $ARCH"
499+
500+
if [ "$ARCH" = "arm64" ]; then
501+
INSTALL_DIR="/opt/homebrew/bin" # Apple Silicon Macs
502+
else
503+
INSTALL_DIR="/usr/local/bin" # Intel Macs
504+
fi
505+
curl -sSfL https://raw.githubusercontent.com/anchore/quill/main/install.sh | sh -s -- -b $INSTALL_DIR
498506
quill --version
499507
500508
- name: Prepare notary key

0 commit comments

Comments
 (0)