File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 uses : actions/setup-java@v5
2222 with :
2323 distribution : ' temurin'
24- java-version : ' 25 '
24+ java-version : ' 21 '
2525 - name : Run Checkstyle
2626 run : mvn --batch-mode checkstyle:check
2727 - name : Annotate Checkstyle results
3939 uses : actions/setup-java@v5
4040 with :
4141 distribution : ' temurin'
42- java-version : ' 25 '
42+ java-version : ' 21 '
4343 - name : Build with coverage
4444 run : mvn --batch-mode clean verify
4545 - name : Upload coverage to Codecov
Original file line number Diff line number Diff line change 1414 runs-on : ubuntu-latest
1515 strategy :
1616 matrix :
17- java-version : [ '25' ]
17+ java-version : [ '21', ' 25' ]
1818 steps :
1919 - name : Checkout code
2020 uses : actions/checkout@v6
@@ -28,14 +28,14 @@ jobs:
2828 - name : Upload JAR artifact
2929 uses : actions/upload-artifact@v7
3030 with :
31- name : java-query-builder-jar
31+ name : java-query-builder-jar-${{ matrix.java-version }}
3232 path : target/*.jar
3333
3434 feature-tests :
3535 runs-on : ubuntu-latest
3636 strategy :
3737 matrix :
38- java-version : [ '25' ]
38+ java-version : [ '21', ' 25' ]
3939 steps :
4040 - name : Checkout code
4141 uses : actions/checkout@v6
Original file line number Diff line number Diff line change 1313 <url >https://github.com/EzFramework/JavaQueryBuilder</url >
1414
1515 <properties >
16- <maven .compiler.source>25 </maven .compiler.source>
17- <maven .compiler.target>25 </maven .compiler.target>
16+ <maven .compiler.source>21 </maven .compiler.source>
17+ <maven .compiler.target>21 </maven .compiler.target>
1818 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1919 </properties >
2020
5252 <artifactId >maven-compiler-plugin</artifactId >
5353 <version >3.15.0</version >
5454 <configuration >
55- <source >25 </source >
56- <target >25 </target >
55+ <source >21 </source >
56+ <target >21 </target >
5757 </configuration >
5858 </plugin >
5959 <plugin >
You can’t perform that action at this time.
0 commit comments