Skip to content

Commit a863704

Browse files
committed
Use Java 21 in github workflows.
1 parent e878e0f commit a863704

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/codeql.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ jobs:
4242
- name: Checkout repository
4343
uses: actions/checkout@v3
4444

45-
- name: Setup Java 17
45+
- name: Setup Java 21
4646
uses: actions/setup-java@v3
4747
with:
4848
distribution: "temurin"
49-
java-version: "17"
49+
java-version: "21"
5050

5151
# Initializes the CodeQL tools for scanning.
5252
- name: Initialize CodeQL

.github/workflows/maven-publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v3
20-
- name: Set up JDK 17
20+
- name: Set up JDK 21
2121
uses: actions/setup-java@v3
2222
with:
23-
java-version: '17'
23+
java-version: '21'
2424
distribution: 'temurin'
2525
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
2626
settings-path: ${{ github.workspace }} # location for the settings.xml file

.github/workflows/maven.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
matrix:
99
os: [ ubuntu-latest ]
10-
java: [ 17 ]
10+
java: [ 21 ]
1111
arch: [ x64 ]
1212
dist: [ zulu ]
1313
fail-fast: false

0 commit comments

Comments
 (0)