File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ jobs:
2323
2424 - name : mvn spring-javaformat:validate
2525 id : validate
26- run : mvn spring-javaformat:validate -Dmaven.compiler.source=${{ matrix.java-version }} -Dmaven.compiler.target =${{ matrix.java-version }}
26+ run : mvn spring-javaformat:validate -Dmaven.compiler.release =${{ matrix.java-version }}
2727 continue-on-error : true
2828
2929 - name : Auto format code if validation fails
3030 if : steps.validate.outcome == 'failure'
31- run : mvn spring-javaformat:apply -Dmaven.compiler.source=${{ matrix.java-version }} -Dmaven.compiler.target =${{ matrix.java-version }}
31+ run : mvn spring-javaformat:apply -Dmaven.compiler.release =${{ matrix.java-version }}
3232
3333 - name : Create Pull Request for formatting changes
3434 if : steps.validate.outcome == 'failure'
@@ -48,10 +48,10 @@ jobs:
4848 delete-branch : true
4949
5050 - name : mvn clean install
51- run : mvn clean install -Pboot -Dmaven.compiler.source=${{ matrix.java-version }} -Dmaven.compiler.target =${{ matrix.java-version }}
51+ run : mvn clean install -Pboot -Dmaven.compiler.release =${{ matrix.java-version }}
5252
5353 - name : mvn clean install
54- run : mvn clean install -Dmaven.compiler.source=${{ matrix.java-version }} -Dmaven.compiler.target =${{ matrix.java-version }}
54+ run : mvn clean install -Dmaven.compiler.release =${{ matrix.java-version }}
5555
5656 - name : failure
5757 if : failure() && github.repository == 'pig-mesh/pig'
Original file line number Diff line number Diff line change 2727 <properties >
2828 <!-- 项目版本号 -->
2929 <revision >3.9.2</revision >
30- <java .version>25 </java .version>
30+ <java .version>17 </java .version>
3131 <spring-boot .version>3.5.7</spring-boot .version>
3232 <spring-cloud .version>2025.0.0</spring-cloud .version>
3333 <spring-cloud-alibaba .version>2025.0.0.0</spring-cloud-alibaba .version>
159159 <groupId >com.alibaba.cloud</groupId >
160160 <artifactId >spring-cloud-starter-alibaba-nacos-discovery</artifactId >
161161 <version >${spring-cloud-alibaba.version} </version >
162- <exclusions >
163- <exclusion >
164- <artifactId >logback-adapter</artifactId >
165- <groupId >com.alibaba.nacos</groupId >
166- </exclusion >
167- </exclusions >
168162 </dependency >
169163 </dependencies >
170164 </dependencyManagement >
You can’t perform that action at this time.
0 commit comments