mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[Ubuntu] Add Java 21 (#8560)
This commit is contained in:
committed by
GitHub
parent
f2d892281b
commit
0253f21ea5
@@ -45,6 +45,6 @@ Describe "Java" {
|
||||
if ($Version -eq 8) {
|
||||
$Version = "1.${Version}"
|
||||
}
|
||||
"`"$javaPath`" -version" | Should -MatchCommandOutput ([regex]::Escape("openjdk version `"${Version}."))
|
||||
"`"$javaPath`" -version" | Should -MatchCommandOutput "openjdk\ version\ `"${Version}(\.[0-9_\.]+)?`""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user