mirror of
https://github.com/actions/runner-images.git
synced 2026-01-07 02:28:54 +08:00
[macos] Add toolcache for arm (#7974)
This commit is contained in:
committed by
GitHub
parent
9a403df7bd
commit
fc2f35d593
@@ -156,3 +156,13 @@ function Add-EnvironmentVariable {
|
||||
function isVeertu {
|
||||
return (Test-Path -Path "/Library/Application Support/Veertu")
|
||||
}
|
||||
|
||||
function Get-Architecture {
|
||||
$arch = arch
|
||||
if ($arch -ne "arm64")
|
||||
{
|
||||
$arch = "x64"
|
||||
}
|
||||
|
||||
return $arch
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user