mirror of
https://github.com/graalvm/setup-graalvm.git
synced 2025-01-19 03:43:02 +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'
|
java-version: '17'
|
||||||
components: 'native-image'
|
components: 'native-image'
|
||||||
os: ubuntu-18.04
|
os: ubuntu-18.04
|
||||||
- version: '22.3.0'
|
- version: '22.3.1'
|
||||||
java-version: '11' # for JDK11 notification
|
java-version: '11' # for JDK11 notification
|
||||||
components: 'native-image'
|
components: 'native-image'
|
||||||
os: macos-11
|
os: macos-11
|
||||||
- version: '22.3.0'
|
- version: '22.3.1'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
components: 'native-image'
|
components: 'native-image'
|
||||||
os: windows-2022
|
os: windows-2022
|
||||||
|
@ -8,9 +8,9 @@ export async function checkForUpdates(
|
|||||||
graalVMVersion: string,
|
graalVMVersion: string,
|
||||||
javaVersion: string
|
javaVersion: string
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
if (graalVMVersion === '22.3.0' && javaVersion === '11') {
|
if (graalVMVersion.startsWith('22.3.') && javaVersion === '11') {
|
||||||
core.notice(
|
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
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user