mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
[macOS] Force curl to use IPv4 (#9586)
This commit is contained in:
@@ -28,6 +28,7 @@ export DOTNET_MULTILEVEL_LOOKUP=0
|
||||
export HOMEBREW_NO_AUTO_UPDATE=1
|
||||
export HOMEBREW_NO_INSTALL_CLEANUP=1
|
||||
export HOMEBREW_CASK_OPTS="--no-quarantine"
|
||||
export HOMEBREW_CURLRC=1
|
||||
|
||||
export BOOTSTRAP_HASKELL_NONINTERACTIVE=1
|
||||
export BOOTSTRAP_HASKELL_INSTALL_NO_STACK_HOOK=1
|
||||
|
||||
@@ -36,6 +36,9 @@ brew_smart_install jq
|
||||
echo "Installing curl..."
|
||||
brew_smart_install curl
|
||||
|
||||
echo "Configuring curl to resolve names with IPv4..."
|
||||
echo '--ipv4' >> ~/.curlrc
|
||||
|
||||
echo "Installing wget..."
|
||||
brew_smart_install "wget"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user