Skip to content

Commit 92ff3f5

Browse files
committed
fix java version in CI
1 parent 9cb1c1a commit 92ff3f5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
with:
1212
fetch-depth: 0
1313

14-
- name: Set up JDK 8
14+
- name: Set up JDK 17
1515
uses: actions/setup-java@v3
1616
with:
1717
distribution: 'adopt'
18-
java-version: '8'
18+
java-version: '17'
1919

2020
- name: Build with Maven
2121
run: mvn --batch-mode --update-snapshots verify

.github/workflows/release-tags.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
- name: Set release version
1717
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
1818

19-
- name: Set up JDK 8
19+
- name: Set up JDK 17
2020
uses: actions/setup-java@v3
2121
with:
2222
distribution: 'adopt'
23-
java-version: '8'
23+
java-version: '17'
2424
server-id: mavenpattern
2525
server-username: MAVEN_DEPLOY_USER
2626
server-password: MAVEN_DEPLOY_PASSWORD

0 commit comments

Comments
 (0)