mirror of
https://github.com/actions/runner-images.git
synced 2026-01-10 20:52:45 +08:00
[macos] introduce more flexible way of managind xcode runtimes (#8572)
This commit is contained in:
@@ -29,7 +29,7 @@ $xcodeVersions | ForEach-Object {
|
||||
Write-Host "Configuring Xcode $($_.link) ..."
|
||||
Invoke-XcodeRunFirstLaunch -Version $_.link
|
||||
|
||||
if ($_.link.Split(".")[0] -ge 14) {
|
||||
if ($_.install_runtimes -eq 'true') {
|
||||
# Additional simulator runtimes are included by default for Xcode < 14
|
||||
Install-AdditionalSimulatorRuntimes -Version $_.link
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user