Skip to content

Commit 9955bda

Browse files
authored
Don't upgrade homebrew packages in CI
Should fix #80428
1 parent 8a2b72e commit 9955bda

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

eng/install-native-dependencies.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ if [ "$os" = "linux" ] && { [ "$ID" = "debian" ] || [ "$ID_LIKE" = "debian" ]; }
2424
elif [ "$os" = "maccatalyst" ] || [ "$os" = "osx" ] || [ "$os" = "macos" ] || [ "$os" = "tvos" ] || [ "$os" = "ios" ]; then
2525
echo "Installed xcode version: $(xcode-select -p)"
2626

27-
brew update --preinstall
27+
export HOMEBREW_NO_INSTALL_CLEANUP=1
28+
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
29+
# Skip brew update for now, see https://github.com/actions/setup-python/issues/577
30+
# brew update --preinstall
2831
brew bundle --no-upgrade --no-lock --file "$(dirname "$0")/Brewfile"
2932
else
3033
echo "Must pass 'Linux', 'macOS', 'maccatalyst', 'iOS' or 'tvOS' as first argument."

0 commit comments

Comments
 (0)