mirror of
https://github.com/graalvm/setup-graalvm.git
synced 2025-01-18 19:26:39 +08:00
Update JDK11 upgrade notice.
This commit is contained in:
parent
93d8fee7fa
commit
8b27096bbf
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -34,11 +34,11 @@ jobs:
|
||||
java-version: '17'
|
||||
components: 'native-image'
|
||||
os: ubuntu-18.04
|
||||
- version: '22.3.0'
|
||||
- version: '22.3.1'
|
||||
java-version: '11' # for JDK11 notification
|
||||
components: 'native-image'
|
||||
os: macos-11
|
||||
- version: '22.3.0'
|
||||
- version: '22.3.1'
|
||||
java-version: '17'
|
||||
components: 'native-image'
|
||||
os: windows-2022
|
||||
|
@ -8,9 +8,9 @@ export async function checkForUpdates(
|
||||
graalVMVersion: string,
|
||||
javaVersion: string
|
||||
): Promise<void> {
|
||||
if (graalVMVersion === '22.3.0' && javaVersion === '11') {
|
||||
if (graalVMVersion.startsWith('22.3.') && javaVersion === '11') {
|
||||
core.notice(
|
||||
'Please consider upgrading your project to Java 17+. The GraalVM 22.3.0 release is the last to support JDK11: https://github.com/oracle/graal/issues/5063'
|
||||
'Please consider upgrading your project to Java 17+. GraalVM 22.3.X releases are the last to support JDK11: https://github.com/oracle/graal/issues/5063'
|
||||
)
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user