Prohibit homebrew from automatically updating packages

When homebrew automatically updates packages we have less control over what version of packages we are running, this will make the script more deterministic. In addition, it will fix errors relating to updating irrelevant packages.
pull/11090/head
deannagarcia 2 years ago committed by GitHub
parent 7c308c7d45
commit 7e6c9844a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      kokoro/macos/prepare_build_macos_rc

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