From c18fa65bbe3443ebe6776dd4910befa8efa61be6 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Sat, 23 Jan 2021 14:47:54 -0700 Subject: [PATCH] ci: Re-install Python@3.9 and remove PHP for macOS --- .github/workflows/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 \