From 33cdaf327ddb766a17aafb22066ae37040b2f1b6 Mon Sep 17 00:00:00 2001 From: Frankie Dintino Date: Wed, 3 Jul 2024 11:49:02 -0400 Subject: [PATCH] fix(ci): deal with gha macos homebrew symlink bug --- .github/workflows/macos-install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos-install.sh b/.github/workflows/macos-install.sh index 6ceab1e..f0ce491 100755 --- a/.github/workflows/macos-install.sh +++ b/.github/workflows/macos-install.sh @@ -2,7 +2,12 @@ set -e -brew reinstall cmake +# See https://github.com/actions/runner-images/issues/9471 for why we have +# brew unlink and brew link commands here +brew unlink cmake || true +brew reinstall cmake || true +brew link --overwrite cmake + brew install dav1d aom rav1e if [ "$GHA_PYTHON_VERSION" == "2.7" ]; then