Skip to content

Commit 8b27096

Browse files
committed
Update JDK11 upgrade notice.
1 parent 93d8fee commit 8b27096

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ jobs:
3434
java-version: '17'
3535
components: 'native-image'
3636
os: ubuntu-18.04
37-
- version: '22.3.0'
37+
- version: '22.3.1'
3838
java-version: '11' # for JDK11 notification
3939
components: 'native-image'
4040
os: macos-11
41-
- version: '22.3.0'
41+
- version: '22.3.1'
4242
java-version: '17'
4343
components: 'native-image'
4444
os: windows-2022

src/features/check-for-updates.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ export async function checkForUpdates(
88
graalVMVersion: string,
99
javaVersion: string
1010
): Promise<void> {
11-
if (graalVMVersion === '22.3.0' && javaVersion === '11') {
11+
if (graalVMVersion.startsWith('22.3.') && javaVersion === '11') {
1212
core.notice(
13-
'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'
13+
'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'
1414
)
1515
return
1616
}

0 commit comments

Comments
 (0)