mirror of
https://github.com/actions/runner-images.git
synced 2025-12-24 10:28:00 +08:00
[macos] prepare repository for ARM64 arch (#7396)
This commit is contained in:
@@ -11,7 +11,7 @@ function Get-NativeVersionFormat {
|
||||
return $Version
|
||||
}
|
||||
|
||||
Describe "Java" {
|
||||
Describe "Java" -Skip:($os.IsVenturaArm64) {
|
||||
BeforeAll {
|
||||
function Validate-JavaVersion {
|
||||
param($JavaCommand, $ExpectedVersion)
|
||||
@@ -58,7 +58,7 @@ Describe "Java" {
|
||||
}
|
||||
|
||||
Context "Java Adopt" {
|
||||
Describe "Java Adopt" -Skip:($os.IsVentura) {
|
||||
Describe "Java Adopt" -Skip:($os.IsVentura -or $os.IsVenturaArm64) {
|
||||
It "Java Adopt <Version>" -TestCases $adoptCases {
|
||||
$adoptPath = Join-Path (Get-ChildItem ${env:AGENT_TOOLSDIRECTORY}\Java_Adopt_jdk\${Version}*) "x64\Contents\Home\bin\java"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user