mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-29 21:07:59 +08:00
[macOS] Install stable Xcode clt for Monterey (#4382)
This commit is contained in:
@@ -12,10 +12,6 @@ install_clt() {
|
||||
clt_placeholder="/tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress"
|
||||
sudo touch $clt_placeholder
|
||||
cltPattern="Command Line Tools"
|
||||
# Command Line Tools for Xcode 13.0 does not support macOS 12
|
||||
if is_Monterey; then
|
||||
cltPattern="Command Line Tools beta"
|
||||
fi
|
||||
|
||||
clt_label_command="/usr/sbin/softwareupdate -l |
|
||||
grep -B 1 -E '${cltPattern}' |
|
||||
|
||||
Reference in New Issue
Block a user