File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 99
1010 steps :
1111 - uses : actions/checkout@v1
12- - name : Set up JDK 11
12+ - name : Set up JDK 21
1313 uses : actions/setup-java@v1
1414 with :
15- java-version : 11
15+ java-version : 21
1616 - name : Build with Maven
1717 run : mvn -B package --file pom.xml
Original file line number Diff line number Diff line change 9898 <groupId >org.apache.maven.plugins</groupId >
9999 <artifactId >maven-compiler-plugin</artifactId >
100100 <configuration >
101- <source >17 </source >
102- <target >17 </target >
101+ <source >21 </source >
102+ <target >21 </target >
103103 </configuration >
104104 </plugin >
105105 </plugins >
108108 <properties >
109109 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
110110 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
111- <java .version>17 </java .version>
112- <maven .compiler.source>17 </maven .compiler.source>
113- <maven .compiler.target>17 </maven .compiler.target>
111+ <java .version>21 </java .version>
112+ <maven .compiler.source>21 </maven .compiler.source>
113+ <maven .compiler.target>21 </maven .compiler.target>
114114
115115 <junit-plataform .version>5.6.1</junit-plataform .version>
116116 <mockito-junit-jupiter .version>3.3.3</mockito-junit-jupiter .version>
You can’t perform that action at this time.
0 commit comments