[Mac OS] Configure template for Mac OS 14 ARM64 image (#8769)

* Configure template for Mac OS 14 ARM64 image

* Change conditions for ruby
This commit is contained in:
Vasilii Polikarpov
2023-11-10 18:53:24 +01:00
committed by GitHub
parent f685533110
commit df292beac6
31 changed files with 434 additions and 202 deletions

View File

@@ -37,7 +37,7 @@ function Build-ToolcacheSection {
$nodes = @()
if (-not $os.IsVenturaArm64) {
if ((-not $os.IsVenturaArm64) -and (-not $os.IsSonomaArm64)) {
$nodes += @(
[ToolVersionsListNode]::new("Ruby", $(Get-ToolcacheRubyVersions), '^\d+\.\d+', "List"),
[ToolVersionsListNode]::new("PyPy", $(Get-ToolcachePyPyVersions), '^\d+\.\d+', "List")