mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[macOS] Fix Gradle test (#8543)
This commit is contained in:
@@ -70,7 +70,6 @@ installOpenJDK() {
|
||||
}
|
||||
|
||||
arch=$(get_arch)
|
||||
echo $arch
|
||||
defaultVersion=$(get_toolset_value '.java.'$arch'.default')
|
||||
jdkVersionsToInstall=($(get_toolset_value ".java.${arch}.versions[]"))
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ Describe "Java" {
|
||||
(Get-Command "gradle").Path | Should -BeExactly "/usr/local/bin/gradle"
|
||||
}
|
||||
|
||||
It "Gradle is installed to /opt/homebrew/bin/gradle" -Skip:($os.IsVentura) {
|
||||
It "Gradle is installed to /opt/homebrew/bin/gradle" -Skip:(-not $os.IsVenturaArm64) {
|
||||
(Get-Command "gradle").Path | Should -BeExactly "/opt/homebrew/bin/gradle"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user