mirror of
https://github.com/actions/runner-images.git
synced 2026-01-10 04:35:12 +08:00
[macOS] Enable runtimes and re-caching for Xcode 26.1 and later (#13343)
* [macOS] Enable runtimes and re-caching for Xcode 26.1 and later * Drop Xcode 26.2 beta 2 for macOS 15
This commit is contained in:
@@ -35,7 +35,7 @@ $xcodeVersions | ForEach-Object {
|
||||
Write-Host "Configuring Xcode $($_.link) ..."
|
||||
Invoke-XcodeRunFirstLaunch -Version $_.link
|
||||
Install-XcodeAdditionalSimulatorRuntimes -Version $_.link -Arch $arch -Runtimes $_.install_runtimes
|
||||
if (($_.link -eq "26.0.1")) {
|
||||
if ($_.link -match '^(\d+)\.(\d+)(?:\.(\d+))?$' -and [int]$matches[1] -ge 26) {
|
||||
Install-XcodeAdditionalComponents -Version $_.link
|
||||
Update-DyldCache -Version $_.link
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user