Skip to content

Commit 8ea3f56

Browse files
committed
update java veriosn in build.yaml
1 parent 4421b1c commit 8ea3f56

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/build.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
- uses: actions/checkout@v3
3333
- uses: actions/setup-java@v3
3434
with:
35-
distribution: adopt
36-
java-version: '8'
35+
distribution: temurin
36+
java-version: '11'
3737
cache: maven
3838
- name: Compile with Maven
3939
run: mvn compile -ntp
@@ -45,8 +45,8 @@ jobs:
4545
- uses: actions/checkout@v3
4646
- uses: actions/setup-java@v3
4747
with:
48-
distribution: adopt
49-
java-version: '8'
48+
distribution: temurin
49+
java-version: '11'
5050
cache: maven
5151
- name: Test with Maven
5252
run: mvn test -ntp
@@ -71,8 +71,8 @@ jobs:
7171
- uses: actions/checkout@v3
7272
- uses: actions/setup-java@v3
7373
with:
74-
distribution: adopt
75-
java-version: '8'
74+
distribution: temurin
75+
java-version: '11'
7676
cache: maven
7777
- name: Build with Maven
7878
run: mvn install -ntp
@@ -102,8 +102,8 @@ jobs:
102102
- uses: actions/checkout@v3
103103
- uses: actions/setup-java@v3
104104
with:
105-
distribution: adopt
106-
java-version: '8'
105+
distribution: temurin
106+
java-version: '11'
107107
cache: maven
108108
server-id: ossrh
109109
server-username: MAVEN_USERNAME
@@ -140,8 +140,8 @@ jobs:
140140
- uses: actions/checkout@v3
141141
- uses: actions/setup-java@v3
142142
with:
143-
distribution: adopt
144-
java-version: '8'
143+
distribution: temurin
144+
java-version: '11'
145145
cache: maven
146146
server-id: ossrh
147147
server-username: MAVEN_USERNAME

0 commit comments

Comments
 (0)