mirror of
https://github.com/actions/runner-images.git
synced 2025-12-10 11:07:02 +00: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
|
||||
}
|
||||
|
||||
@@ -3,21 +3,13 @@
|
||||
"default": "16.4",
|
||||
"x64": {
|
||||
"versions": [
|
||||
{
|
||||
"link": "26.2_beta_2",
|
||||
"filename": "Xcode_26.2_beta_2_Universal",
|
||||
"version": "26.2_beta_2+17C5038g",
|
||||
"symlinks": ["26.2"],
|
||||
"sha256": "eb8fd7fc889e940450c5a48600276810a011f36314c43d632253d0fc4d40e2c7",
|
||||
"install_runtimes": "none"
|
||||
},
|
||||
{
|
||||
"link": "26.1.1",
|
||||
"filename": "Xcode_26.1.1_Universal",
|
||||
"version": "26.1.1+17B100",
|
||||
"symlinks": ["26.1"],
|
||||
"sha256": "ed55d55fa28455c11a65e0809ba8fdf7d83fdeb268aabf9af7fcc1ee911543eb",
|
||||
"install_runtimes": "none"
|
||||
"install_runtimes": "default"
|
||||
},
|
||||
{
|
||||
"link": "26.0.1",
|
||||
@@ -71,21 +63,13 @@
|
||||
},
|
||||
"arm64":{
|
||||
"versions": [
|
||||
{
|
||||
"link": "26.2_beta_2",
|
||||
"filename": "Xcode_26.2_beta_2_Universal",
|
||||
"version": "26.2_beta_2+17C5038g",
|
||||
"symlinks": ["26.2"],
|
||||
"sha256": "eb8fd7fc889e940450c5a48600276810a011f36314c43d632253d0fc4d40e2c7",
|
||||
"install_runtimes": "none"
|
||||
},
|
||||
{
|
||||
"link": "26.1.1",
|
||||
"filename": "Xcode_26.1.1_Universal",
|
||||
"version": "26.1.1+17B100",
|
||||
"symlinks": ["26.1"],
|
||||
"sha256": "ed55d55fa28455c11a65e0809ba8fdf7d83fdeb268aabf9af7fcc1ee911543eb",
|
||||
"install_runtimes": "none"
|
||||
"install_runtimes": "default"
|
||||
},
|
||||
{
|
||||
"link": "26.0.1",
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"version": "26.1.1+17B100",
|
||||
"symlinks": ["26.1"],
|
||||
"sha256": "ed55d55fa28455c11a65e0809ba8fdf7d83fdeb268aabf9af7fcc1ee911543eb",
|
||||
"install_runtimes": "none"
|
||||
"install_runtimes": "default"
|
||||
},
|
||||
{
|
||||
"link": "26.0.1",
|
||||
|
||||
Reference in New Issue
Block a user