diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3a6ad22001..4ecfe6292f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -145,8 +145,19 @@ jobs: git fetch --prune --unshallow --tags -f - name: Install Dependencies run: | + export HOMEBREW_NO_AUTO_UPDATE=1 + export HOMEBREW_NO_INSTALL_CLEANUP=1 brew doctor || true brew update-reset + + # Prevent updated packages from triggering PHP update + brew uninstall php || true + + # Force update of Python, handle link issues + brew uninstall --ignore-dependencies python || true + brew install python@3.9 || true + brew link --overwrite python@3.9 || true + brew install \ ccache \ coreutils \