From e86905574c6fd9c74092fb9f2c5dd797c2020453 Mon Sep 17 00:00:00 2001 From: Thibault Charbonnier Date: Tue, 30 Apr 2024 18:28:28 -0700 Subject: [PATCH] chore(release) fix MacOS releases - New homebrew + python dependencies commands recommended by Homebrew. - Update Wasmtime asset link to use 'aarch64' instead of 'arm64'. --- .github/workflows/release.yml | 4 +++- util/runtimes/wasmtime.sh | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7a7c56df7..59e48598d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -406,7 +406,9 @@ jobs: - name: Setup dependencies run: | brew install ninja openssh - pip3 install --upgrade setuptools + python3 -m venv .python3_venv + source .python3_venv/bin/activate + python3 -m pip install setuptools - name: Build binary run: ./util/release.sh ${{ needs.setup.outputs.release_name }} --bin env: diff --git a/util/runtimes/wasmtime.sh b/util/runtimes/wasmtime.sh index 7d1fd47e5..08ae089fd 100755 --- a/util/runtimes/wasmtime.sh +++ b/util/runtimes/wasmtime.sh @@ -23,6 +23,10 @@ download_wasmtime() { local arch="$3" local clean="$4" + case "$arch" in + arm64) arch="aarch64" ;; + esac + case $OSTYPE in linux*) os="linux";; darwin*) os="macos";;