File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,20 @@ jobs:
1919 with :
2020 persist-credentials : false
2121
22- - name : Set up Java ${{ matrix.java }}
23- id : setup-java
22+ - name : Set up Java ${{ matrix.java }} for testing
23+ id : setup-test- java
2424 uses : actions/setup-java@v4
2525 with :
2626 distribution : " temurin"
2727 java-version : ${{ matrix.java }}
2828
29+ - name : Set up Java 25 for Maven
30+ id : setup-build-java
31+ uses : actions/setup-java@v4
32+ with :
33+ distribution : " temurin"
34+ java-version : " 25"
35+
2936 - name : Cache local Maven repository
3037 uses : actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
3138 with :
3845 - name : Build and test on Java ${{ matrix.java }}
3946 run : >-
4047 ./mvnw clean install
41- -Dtest.java.version =${{ matrix. java }}
48+ -Djvm =${{ steps.setup-test- java.outputs.path }}/bin/java
4249 -Dspotless.skip=true
4350 -Dcheckstyle.skip=true
4451 -Dwarnings=-nowarn
Original file line number Diff line number Diff line change 307307 <plugin >
308308 <groupId >org.apache.maven.plugins</groupId >
309309 <artifactId >maven-surefire-plugin</artifactId >
310+ <configuration >
311+ <jvm >${jvm} </jvm >
312+ </configuration >
310313 </plugin >
311314 <plugin >
312315 <artifactId >maven-compiler-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments