diff --git a/changelog.d/pr-1374.build b/changelog.d/pr-1374.build new file mode 100644 index 0000000000..31715b7c0a --- /dev/null +++ b/changelog.d/pr-1374.build @@ -0,0 +1 @@ +Don't upgrade more homebrew deps than needed on GitHub runners. \ No newline at end of file diff --git a/ci_scripts/ci_common.sh b/ci_scripts/ci_common.sh index 880a02ac79..fb64ad6ff1 100755 --- a/ci_scripts/ci_common.sh +++ b/ci_scripts/ci_common.sh @@ -38,6 +38,9 @@ install_xcode_cloud_python_dependencies () { } setup_github_actions_environment() { + unset HOMEBREW_NO_INSTALL_FROM_API + export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 + brew update && brew install xcodegen swiftformat git-lfs imagemagick # brew "swiftlint" # Fails on the CI: `Target /usr/local/bin/swiftlint Target /usr/local/bin/swiftlint already exists`. Installed through https://github.com/actions/virtual-environments/blob/main/images/macos/macos-12-Readme.md#linters