Skip to content

Commit b5b3451

Browse files
committed
ci: upgrade JDK version from 8 to 17 in CI workflows
1 parent ce20011 commit b5b3451

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: Set up JDK 8
17+
- name: Set up JDK 17
1818
uses: actions/setup-java@v2
1919
with:
20-
java-version: '8'
21-
distribution: 'adopt'
20+
java-version: '17'
21+
distribution: 'temurin'
2222

2323
- name: mvn clean install
2424
run: mvn clean install

.github/workflows/oss-release-deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ jobs:
1212
- name: Checkout
1313
uses: actions/checkout@v3
1414

15-
- name: Set up JDK 8
15+
- name: Set up JDK 17
1616
uses: actions/setup-java@v2
1717
with:
18-
java-version: '8'
19-
distribution: 'adopt'
18+
java-version: '17'
19+
distribution: 'temurin'
2020
cache: maven
2121

2222
- name: Setup Maven Central
2323
uses: actions/setup-java@v3
2424
with: # overwrite settings.xml
25-
java-version: '8'
26-
distribution: 'adopt'
25+
java-version: '17'
26+
distribution: 'temurin'
2727
server-id: sonatype
2828
server-username: OSSRH_USERNAME
2929
server-password: OSSRH_PASSWORD

0 commit comments

Comments
 (0)