File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ jobs:
18
18
uses : actions/checkout@v4
19
19
20
20
# 设置 JDK(如果是 Java 项目)
21
- - name : Set up JDK 8 .*
21
+ - name : Set up JDK 17 .*
22
22
uses : actions/setup-java@v4
23
23
with :
24
- java-version : ' 8 .*'
24
+ java-version : ' 17 .*'
25
25
distribution : ' temurin'
26
26
27
27
# 安装依赖并运行 Checkstyle(如果是 Maven 项目)
Original file line number Diff line number Diff line change 19
19
</modules >
20
20
21
21
<properties >
22
- <java .version>1.8 </java .version>
22
+ <java .version>17 </java .version>
23
23
<fastjson .version>2.0.50</fastjson .version>
24
24
<hutool .version>5.8.27</hutool .version>
25
25
<org .mapstruct.version>1.5.5.Final</org .mapstruct.version>
159
159
<artifactId >maven-compiler-plugin</artifactId >
160
160
<version >3.8.1</version > <!-- 选择合适的版本 -->
161
161
<configuration >
162
- <source >1.8 </source > <!-- 编译源码的 Java 版本 -->
163
- <target >1.8 </target > <!-- 生成字节码的 Java 版本 -->
162
+ <source >17 </source > <!-- 编译源码的 Java 版本 -->
163
+ <target >17 </target > <!-- 生成字节码的 Java 版本 -->
164
164
</configuration >
165
165
</plugin >
166
166
You can’t perform that action at this time.
0 commit comments