@@ -124,7 +124,7 @@ jobs:
124
124
timeout-minutes : 40
125
125
strategy :
126
126
matrix :
127
- java : [ '17', '21', '23 ' ]
127
+ java : [ '17', '21', '24-ea ' ]
128
128
exclude :
129
129
- java : ${{ github.event_name == 'pull_request' && 'nothing' || '21' }}
130
130
fail-fast : false
@@ -229,7 +229,7 @@ jobs:
229
229
java : [ 17 ]
230
230
include :
231
231
- os : ubuntu-latest
232
- java : 22
232
+ java : 23
233
233
fail-fast : false
234
234
steps :
235
235
@@ -416,30 +416,23 @@ jobs:
416
416
- name : Build nbms
417
417
run : ant $OPTS build-nbms
418
418
419
+ # runs only in PRs if requested; ~18 min
420
+ - name : Build all Tests
421
+ if : env.test_tests == 'true' && github.event_name == 'pull_request' && success()
422
+ run : ant -quiet -Dcluster.config=$CLUSTER_CONFIG test -Dtest.includes=NoTestsJustBuild
423
+
419
424
# 13-14 min for javadoc; JDK version must be synced with nb-javac
420
- - name : Set up JDK 23 for javadoc
425
+ - name : Set up JDK 24-ea for javadoc
421
426
if : env.test_javadoc == 'true' && success()
422
427
uses : actions/setup-java@v4
423
428
with :
424
- java-version : 23
429
+ java-version : 24-ea
425
430
distribution : ${{ env.DEFAULT_JAVA_DISTRIBUTION }}
426
431
427
432
- name : Build javadoc
428
433
if : env.test_javadoc == 'true' && success()
429
434
run : ant $OPTS build-javadoc
430
435
431
- - name : Set up JDK ${{ matrix.java }}
432
- if : env.test_javadoc == 'true' && success()
433
- uses : actions/setup-java@v4
434
- with :
435
- java-version : ${{ matrix.java }}
436
- distribution : ${{ env.DEFAULT_JAVA_DISTRIBUTION }}
437
-
438
- # runs only in PRs if requested; ~18 min
439
- - name : Build all Tests
440
- if : env.test_tests == 'true' && github.event_name == 'pull_request' && success()
441
- run : ant -quiet -Dcluster.config=$CLUSTER_CONFIG test -Dtest.includes=NoTestsJustBuild
442
-
443
436
- name : Create Test Summary
444
437
uses : test-summary/action@v2
445
438
if : failure()
@@ -834,7 +827,7 @@ jobs:
834
827
timeout-minutes : 50
835
828
strategy :
836
829
matrix :
837
- java : [ '17', '21', '23 ' ]
830
+ java : [ '17', '21', '24-ea ' ]
838
831
exclude :
839
832
- java : ${{ github.event_name == 'pull_request' && 'nothing' || '21' }}
840
833
fail-fast : false
@@ -1494,7 +1487,7 @@ jobs:
1494
1487
timeout-minutes : 60
1495
1488
strategy :
1496
1489
matrix :
1497
- java : [ '17', '21', '23 ' ]
1490
+ java : [ '17', '21', '24-ea ' ]
1498
1491
exclude :
1499
1492
- java : ${{ github.event_name == 'pull_request' && 'nothing' || '21' }}
1500
1493
fail-fast : false
0 commit comments