ci: Re-install Python@3.9 and remove PHP for macOS

This commit is contained in:
Matt Borgerson 2021-01-23 14:47:54 -07:00 committed by mborgerson
parent 1ba8a43e7c
commit c18fa65bbe
1 changed files with 11 additions and 0 deletions
.github/workflows

View File

@ -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 \