Merge pull request #11090 from protocolbuffers/deannagarcia-patch-11

Fix PHP homebrew installation failures
pull/11080/head
deannagarcia 2 years ago committed by GitHub
commit 51535c0a53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      kokoro/macos/php74/build.sh
  2. 1
      kokoro/macos/prepare_build_macos_rc

@ -9,8 +9,9 @@ cd $(dirname $0)/../../..
source kokoro/macos/prepare_build_macos_rc
# Install Dependencies
# PHP 7.4 is already installed on the machine
brew cleanup
brew install coreutils php@7.4
brew install coreutils
# Configure path
PHP_FOLDER=$(find $HOMEBREW_PREFIX -type d -regex ".*php.*/7.4.[0-9_.]*" | sort -n | tail -n 1)

@ -5,6 +5,7 @@
set -eux
export HOMEBREW_PREFIX=$(brew --prefix)
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 # Do not automatically update packages.
##
# Select Xcode version

Loading…
Cancel
Save