Skip to content

Commit 8027101

Browse files
committed
Use Java 11
1 parent 2227d9a commit 8027101

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
uses: actions/setup-java@v2
5353
with:
5454
distribution: zulu
55-
java-version: 17
55+
java-version: 11
5656
cache: maven
5757

5858
- name: Grant execute permission for mvnw
@@ -62,7 +62,7 @@ jobs:
6262
run: cp doma-spring-boot-core/src/module/java/module-info.java doma-spring-boot-core/src/main/java/ && cp doma-spring-boot-autoconfigure/src/module/java/module-info.java doma-spring-boot-autoconfigure/src/main/java/
6363

6464
- name: Test with Maven
65-
run: ./mvnw test -B -pl doma-spring-boot-core,doma-spring-boot-autoconfigure -Dmaven.compiler.source=17 -Dmaven.compiler.target=17
65+
run: ./mvnw test -B -pl doma-spring-boot-core,doma-spring-boot-autoconfigure -Dmaven.compiler.source=11 -Dmaven.compiler.target=11
6666

6767
- name: Upload reports
6868
if: failure()

0 commit comments

Comments
 (0)