mirror of
https://github.com/actions/runner-images.git
synced 2025-12-29 05:17:11 +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}' |
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"xcode": {
|
||||
"default": "13.0",
|
||||
"default": "13.1",
|
||||
"versions": [
|
||||
{ "link": "13.2", "version": "13.2.0" },
|
||||
{ "link": "13.1", "version": "13.1.0" },
|
||||
|
||||
Reference in New Issue
Block a user