mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-31 22:18:12 +08:00
deprecate old tools on MacOS
This commit is contained in:
@@ -27,8 +27,8 @@ if is_Less_Catalina; then
|
||||
npm install -g appcenter-cli@^1.0.0
|
||||
else
|
||||
# Install Node.JS 12 for macOS >= 10.15
|
||||
brew install node@12
|
||||
brew link node@12 --force
|
||||
brew install node@14
|
||||
brew link node@14 --force
|
||||
|
||||
for module in ${node_modules[@]}; do
|
||||
echo "Install $module"
|
||||
|
||||
@@ -77,6 +77,7 @@ runFirstLaunch $DEFAULT_XCODE_VERSION
|
||||
if is_Catalina; then
|
||||
ln -sf /Applications/Xcode_11.2.1.app /Applications/Xcode_11.2.app
|
||||
ln -sf /Applications/Xcode_11.3.1.app /Applications/Xcode_11.3.app
|
||||
ln -sf /Applications/Xcode_11.4.1.app /Applications/Xcode_11.4.app
|
||||
fi
|
||||
|
||||
echo "Setting Xcode ${DEFAULT_XCODE_VERSION} as default"
|
||||
|
||||
Reference in New Issue
Block a user