mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
Deprecate Java 7 (#2633)
This commit is contained in:
committed by
GitHub
parent
4491eeb15f
commit
3ca926ec34
@@ -31,7 +31,7 @@ Describe "Java" {
|
||||
$result = Get-CommandResult "`"$javaPath`" -version"
|
||||
$result.ExitCode | Should -Be 0
|
||||
|
||||
if ($Version -eq 7 -or $Version -eq 8) {
|
||||
if ($Version -eq 8) {
|
||||
$Version = "1.${Version}"
|
||||
}
|
||||
$result.Output | Should -Match ([regex]::Escape("openjdk version `"${Version}."))
|
||||
|
||||
Reference in New Issue
Block a user