From 2c1a147659579b7a6dc731beb5a7671d9a4cbed3 Mon Sep 17 00:00:00 2001 From: Maxim Samsonov Date: Wed, 30 Oct 2024 17:51:50 +0300 Subject: [PATCH] chore: test arm-brew-setup/install on macos-13 (not macos-12) Due to macos-12 deprecation --- .github/workflows/test.yml | 2 +- ci-scripts/arm-brew-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 61dd891..b4e3ca7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -145,7 +145,7 @@ jobs: test-cross-brew-install: name: test arm-brew-setup/install - runs-on: macos-12 + runs-on: macos-13 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/ci-scripts/arm-brew-install.sh b/ci-scripts/arm-brew-install.sh index 87d3d62..9ff98a9 100755 --- a/ci-scripts/arm-brew-install.sh +++ b/ci-scripts/arm-brew-install.sh @@ -37,7 +37,7 @@ DIR1="$DIR0/arm-homebrew" for bottle in "${@:2}" do echo "Installing $bottle" - response=$("$DIR1/bin/brew" fetch --force --bottle-tag=arm64_big_sur "$bottle" | grep "Downloaded to") + response=$("$DIR1/bin/brew" fetch --force --bottle-tag=arm64_ventura "$bottle" | grep "bottle.tar.gz") IFS=" " read -r -a parsed <<< "$response" "$DIR1/bin/brew" install "${parsed[2]}" done