Skip to content

Commit b036893

Browse files
build with JDK 21
1 parent bb48a69 commit b036893

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/setup-java@v4
1414
with:
1515
distribution: 'temurin'
16-
java-version: 17
16+
java-version: 21
1717
cache: 'maven'
1818
- name: Ensure to use tagged version
1919
if: startsWith(github.ref, 'refs/tags/')

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/setup-java@v4
2323
with:
2424
distribution: 'temurin'
25-
java-version: 17
25+
java-version: 21
2626
cache: 'maven'
2727
- name: Initialize CodeQL
2828
uses: github/codeql-action/init@v3

.github/workflows/publish-central.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/setup-java@v4
1212
with:
1313
distribution: 'temurin'
14-
java-version: 17
14+
java-version: 21
1515
cache: 'maven'
1616
server-id: central
1717
server-username: MAVEN_CENTRAL_USERNAME

.github/workflows/publish-github.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/setup-java@v4
1212
with:
1313
distribution: 'temurin'
14-
java-version: 17
14+
java-version: 21
1515
cache: 'maven'
1616
- name: Enforce project version ${{ github.event.release.tag_name }}
1717
run: mvn versions:set -B -DnewVersion=${{ github.event.release.tag_name }}

0 commit comments

Comments
 (0)