Skip to content

Commit 632ee14

Browse files
committed
CI: build with jdk 21
1 parent d6bd882 commit 632ee14

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
path: ~/.gradle
3030
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
3131
restore-keys: ${{ runner.os }}-gradle-
32-
- name: Set up JDK 11
32+
- name: Set up JDK 21
3333
uses: actions/setup-java@v4
3434
with:
35-
java-version: 11
35+
java-version: 21
3636
distribution: 'adopt'
3737
- name: Check
3838
run: ./gradlew check

.github/workflows/snapshot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737
path: ~/.gradle
3838
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
3939
restore-keys: ${{ runner.os }}-gradle-
40-
- name: Set up JDK 11
40+
- name: Set up JDK 21
4141
uses: actions/setup-java@v4
4242
with:
43-
java-version: 11
43+
java-version: 21
4444
distribution: 'adopt'
4545
- name: Check
4646
run: ./gradlew check

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ jobs:
4444
path: ~/.gradle
4545
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
4646
restore-keys: ${{ runner.os }}-gradle-
47-
- name: Set up JDK 11
47+
- name: Set up JDK 21
4848
uses: actions/setup-java@v2
4949
with:
50-
java-version: 11
50+
java-version: 21
5151
distribution: 'adopt'
5252
- name: Check
5353
run: ./gradlew check

0 commit comments

Comments
 (0)