[macOS] Add Ruby toolcache on arm64 images. (#10768)

Co-authored-by: Erik Bershel <erik-bershel@github.com>
This commit is contained in:
susmitamane
2024-11-22 20:05:31 +05:30
committed by GitHub
parent 26b592de2b
commit 6e8ddff8ff
7 changed files with 64 additions and 70 deletions

View File

@@ -42,13 +42,9 @@ function Build-ToolcacheSection {
[ToolVersionsListNode]::new("PyPy", $(Get-ToolcachePyPyVersions), '^\d+\.\d+', "List")
)
}
if ((-not $os.IsVenturaArm64) -and (-not $os.IsSonomaArm64) -and (-not $os.IsSequoiaArm64)) {
$nodes += @(
[ToolVersionsListNode]::new("Ruby", $(Get-ToolcacheRubyVersions), '^\d+\.\d+', "List")
)
}
$nodes += @(
[ToolVersionsListNode]::new("Ruby", $(Get-ToolcacheRubyVersions), '^\d+\.\d+', "List")
[ToolVersionsListNode]::new("Python", $(Get-ToolcachePythonVersions), '^\d+\.\d+', "List"),
[ToolVersionsListNode]::new("Node.js", $(Get-ToolcacheNodeVersions), '^\d+', "List"),
[ToolVersionsListNode]::new("Go", $(Get-ToolcacheGoVersions), '^\d+\.\d+', "List")