mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
[macOS] Add Xcode 26.1.1 without runtimes (#13326)
Co-authored-by: alexey-ayupov <alexey-ayupov@github.com>
This commit is contained in:
@@ -35,16 +35,12 @@ $xcodeVersions | ForEach-Object {
|
||||
Write-Host "Configuring Xcode $($_.link) ..."
|
||||
Invoke-XcodeRunFirstLaunch -Version $_.link
|
||||
Install-XcodeAdditionalSimulatorRuntimes -Version $_.link -Arch $arch -Runtimes $_.install_runtimes
|
||||
if (($_.link -match '^(\d+)\.(\d+)$') -and ([int]$matches[1] -ge 26)) {
|
||||
if (($_.link -eq "26.0.1")) {
|
||||
Install-XcodeAdditionalComponents -Version $_.link
|
||||
Update-DyldCache -Version $_.link
|
||||
}
|
||||
}
|
||||
|
||||
# Update dyld shared cache for the latest stable Xcode version
|
||||
if ((-not $os.IsSonoma)) {
|
||||
Update-DyldCache -XcodeVersions $xcodeVersions
|
||||
}
|
||||
|
||||
Invoke-XcodeRunFirstLaunch -Version $defaultXcode
|
||||
|
||||
Write-Host "Configuring Xcode symlinks..."
|
||||
|
||||
Reference in New Issue
Block a user