Skip to content

Commit 507d58d

Browse files
committed
chore: upgrade to jdk21
1 parent 9f11070 commit 507d58d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ jobs:
1313
- uses: actions/checkout@v4
1414
with:
1515
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
16-
- name: Set up JDK 11
16+
- name: Set up JDK 21
1717
uses: actions/setup-java@v4
1818
with:
19-
java-version: 11
19+
distribution: 'temurin'
20+
java-version: 21
2021
- name: Cache SonarCloud packages
2122
uses: actions/cache@v4
2223
with:

.github/workflows/sonarcloud.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ jobs:
2020
- uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
23-
- name: Set up JDK 11
23+
- name: Set up JDK 21
2424
uses: actions/setup-java@v4
2525
with:
26-
java-version: 11
26+
distribution: 'temurin'
27+
java-version: 21
2728
- name: Cache Maven packages
2829
uses: actions/cache@v4
2930
with:

0 commit comments

Comments
 (0)