mirror of
https://github.com/actions/runner-images.git
synced 2026-01-03 00:28:08 +08:00
[macos] add architecture references (#7593)
This commit is contained in:
committed by
GitHub
parent
cc2b556e65
commit
111d6ae5cf
@@ -2,7 +2,9 @@ Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1"
|
||||
Import-Module "$PSScriptRoot/../helpers/Xcode.Helpers.psm1"
|
||||
Import-Module "$PSScriptRoot/../helpers/Tests.Helpers.psm1" -DisableNameChecking
|
||||
|
||||
$xcodeVersions = Get-ToolsetValue "xcode.versions"
|
||||
$ARCH = arch
|
||||
if ($ARCH -ne "arm64") { $ARCH = "x64" }
|
||||
$xcodeVersions = Get-ToolsetValue "xcode.$ARCH.versions"
|
||||
$defaultXcode = Get-ToolsetValue "xcode.default"
|
||||
$latestXcodeVersion = $xcodeVersions | Select-Object -First 1
|
||||
$os = Get-OSVersion
|
||||
|
||||
Reference in New Issue
Block a user