Skip to content

Commit f9c5b04

Browse files
authored
Update maven.yml
1 parent 3e4ef72 commit f9c5b04

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/maven.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
- uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
23-
- name: Set up JDK 17
23+
- name: Set up JDK 21
2424
uses: actions/setup-java@v4
2525
with:
2626
distribution: 'temurin'
27-
java-version: '17'
27+
java-version: '21'
2828
cache: 'gradle'
2929
- name: Cache SonarCloud packages
3030
uses: actions/cache@v4
@@ -47,11 +47,11 @@ jobs:
4747
- uses: actions/checkout@v4
4848
with:
4949
fetch-depth: 0
50-
- name: Set up JDK 17
50+
- name: Set up JDK 21
5151
uses: actions/setup-java@v4
5252
with:
5353
distribution: 'temurin'
54-
java-version: '17'
54+
java-version: '21'
5555
cache: 'gradle'
5656
- name: Build with Gradle
5757
run: ./gradlew test --no-daemon
@@ -65,11 +65,11 @@ jobs:
6565
- uses: actions/checkout@v4
6666
with:
6767
fetch-depth: 0
68-
- name: Set up JDK 17
68+
- name: Set up JDK 21
6969
uses: actions/setup-java@v4
7070
with:
7171
distribution: 'temurin'
72-
java-version: '17'
72+
java-version: '21'
7373
cache: 'gradle'
7474
- name: Build with Gradle
7575
run: chmod +x gradlew && ./gradlew test --no-daemon
@@ -81,11 +81,11 @@ jobs:
8181
- uses: actions/checkout@v4
8282
with:
8383
fetch-depth: 0
84-
- name: Set up JDK 17
84+
- name: Set up JDK 21
8585
uses: actions/setup-java@v4
8686
with:
8787
distribution: 'temurin'
88-
java-version: '17'
88+
java-version: '21'
8989
cache: 'maven'
9090
- name: Build and analyze
9191
run: mvn -B compile

0 commit comments

Comments
 (0)