Skip to content

Commit f54dec8

Browse files
committed
Fix arm64 macOS wasm-tools download; disable macos-13 runner
uname -m returns 'arm64' on Apple Silicon but release assets use 'aarch64'; add a mapping before constructing the download URL. Also comment out the x86_64-apple-darwin (macos-13) matrix entry as those runners are queueing indefinitely. Re-enable when availability improves.
1 parent b195a87 commit f54dec8

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,10 @@ jobs:
111111
fail-fast: false
112112
matrix:
113113
include:
114-
- target: x86_64-apple-darwin
115-
runner: macos-13
114+
# macos-13 (x86_64) runners have been queueing indefinitely; disabled
115+
# for now. Re-enable once runner availability improves.
116+
# - target: x86_64-apple-darwin
117+
# runner: macos-13
116118
- target: aarch64-apple-darwin
117119
runner: macos-14
118120

@@ -153,6 +155,8 @@ jobs:
153155
- name: Install wasm-tools
154156
run: |
155157
ARCH=$(uname -m)
158+
# uname -m returns 'arm64' on Apple Silicon; release assets use 'aarch64'
159+
[[ "$ARCH" == "arm64" ]] && ARCH="aarch64"
156160
curl -sSfL "https://github.com/bytecodealliance/wasm-tools/releases/download/v${{ env.WASM_TOOLS_VERSION }}/wasm-tools-${{ env.WASM_TOOLS_VERSION }}-${ARCH}-macos.tar.gz" \
157161
| tar -xz --strip-components=1 -C /usr/local/bin "wasm-tools-${{ env.WASM_TOOLS_VERSION }}-${ARCH}-macos/wasm-tools"
158162

0 commit comments

Comments
 (0)