mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-07 10:40:21 +08:00
[macOS] Separate xcode command line tools installation & Xcode 12.1 for Big Sur (#1815)
* add retry logic, remove separate macOS11 installation * move to separate file
This commit is contained in:
@@ -1,23 +1,19 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash -e -o pipefail
|
||||
|
||||
echo "Installing Homebrew..."
|
||||
|
||||
source ~/utils/utils.sh
|
||||
|
||||
echo Installing Homebrew...
|
||||
HOMEBREW_INSTALL_URL="https://raw.githubusercontent.com/Homebrew/install/master/install.sh"
|
||||
|
||||
/bin/bash -c "$(curl -fsSL ${HOMEBREW_INSTALL_URL})"
|
||||
|
||||
echo Disabling Homebrew analytics...
|
||||
echo "Disabling Homebrew analytics..."
|
||||
brew analytics off
|
||||
|
||||
echo Installing the last version of curl
|
||||
echo "Installing the latest curl..."
|
||||
brew install curl
|
||||
|
||||
echo Installing wget...
|
||||
echo "Installing wget..."
|
||||
brew install wget
|
||||
|
||||
echo Installing jq
|
||||
echo "Installing jq..."
|
||||
brew install jq
|
||||
|
||||
# init brew bundle feature
|
||||
|
||||
Reference in New Issue
Block a user