From de3f0af8297ae2b2a81c2bfd119d93e795a59a9e Mon Sep 17 00:00:00 2001 From: deadprogram Date: Sun, 17 Dec 2023 17:45:30 +0100 Subject: [PATCH] build: fix for macos homebrew as discussed in https://github.com/Homebrew/brew/issues/15621 Signed-off-by: deadprogram --- .github/workflows/build-macos.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 9b8b00aa..fd5b5c9a 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -120,17 +120,19 @@ jobs: matrix: version: [16, 17] steps: - - name: Update Homebrew - run: brew update + - name: Set up Homebrew + uses: Homebrew/actions/setup-homebrew@master + with: + cask: false # remove this if you need `brew install --cask` + test-bot: false # remove this if you need `brew test-bot` - name: Fix Python symlinks run: | # Github runners have broken symlinks, so relink # see: https://github.com/actions/setup-python/issues/577 - brew unlink python - brew link --overwrite python + brew unlink python@3.11 - name: Install LLVM run: | - HOMEBREW_NO_AUTO_UPDATE=1 brew install llvm@${{ matrix.version }} + brew install llvm@${{ matrix.version }} - name: Checkout uses: actions/checkout@v4 - name: Install Go