Skip to content

Commit 350fa20

Browse files
committed
Use Java 21.
1 parent bbf8bf3 commit 350fa20

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
with:
2929
# https://github.com/actions/checkout/issues/881
3030
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
31-
- name: Use JDK 17
31+
- name: Use JDK 21
3232
uses: actions/setup-java@v4
3333
with:
3434
distribution: 'temurin' # See 'Supported distributions' for available options
35-
java-version: '17'
35+
java-version: '21'
3636
- name: Configure gradle
3737
uses: gradle/actions/setup-gradle@v3
3838
with:
@@ -57,11 +57,11 @@ jobs:
5757
with:
5858
# https://github.com/actions/checkout/issues/881
5959
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }}
60-
- name: Use JDK 17
60+
- name: Use JDK 21
6161
uses: actions/setup-java@v4
6262
with:
6363
distribution: 'temurin' # See 'Supported distributions' for available options
64-
java-version: '17'
64+
java-version: '21'
6565
- name: Configure gradle
6666
uses: gradle/actions/setup-gradle@v3
6767
with:

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
uses: actions/setup-python@v4
2121
with:
2222
python-version: 3.8
23-
- name: Use JDK 17
23+
- name: Use JDK 21
2424
uses: actions/setup-java@v4
2525
with:
2626
distribution: 'temurin' # See 'Supported distributions' for available options
27-
java-version: '17'
27+
java-version: '21'
2828
- name: Configure gradle
2929
uses: gradle/actions/setup-gradle@v3
3030
with:

.github/workflows/post-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ jobs:
4444
uses: actions/setup-python@v4
4545
with:
4646
python-version: 3.8
47-
- name: Use JDK 17
47+
- name: Use JDK 21
4848
uses: actions/setup-java@v4
4949
with:
5050
distribution: 'temurin' # See 'Supported distributions' for available options
51-
java-version: '17'
51+
java-version: '21'
5252
- name: Configure gradle
5353
uses: gradle/actions/setup-gradle@v3
5454
with:

.github/workflows/quality.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- uses: actions/checkout@v4
28-
- name: Use JDK 17
28+
- name: Use JDK 21
2929
uses: actions/setup-java@v4
3030
with:
3131
distribution: 'temurin' # See 'Supported distributions' for available options
32-
java-version: '17'
32+
java-version: '21'
3333
- name: Configure gradle
3434
uses: gradle/actions/setup-gradle@v3
3535
with:
@@ -48,11 +48,11 @@ jobs:
4848
cancel-in-progress: true
4949
steps:
5050
- uses: actions/checkout@v4
51-
- name: Use JDK 17
51+
- name: Use JDK 21
5252
uses: actions/setup-java@v4
5353
with:
5454
distribution: 'temurin' # See 'Supported distributions' for available options
55-
java-version: '17'
55+
java-version: '21'
5656
- name: Configure gradle
5757
uses: gradle/actions/setup-gradle@v3
5858
with:
@@ -102,11 +102,11 @@ jobs:
102102
cancel-in-progress: true
103103
steps:
104104
- uses: actions/checkout@v4
105-
- name: Use JDK 17
105+
- name: Use JDK 21
106106
uses: actions/setup-java@v4
107107
with:
108108
distribution: 'temurin' # See 'Supported distributions' for available options
109-
java-version: '17'
109+
java-version: '21'
110110
- name: Configure gradle
111111
uses: gradle/actions/setup-gradle@v3
112112
with:

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929
with:
3030
lfs: true
3131
fetch-depth: 0
32-
- name: Use JDK 17
32+
- name: Use JDK 21
3333
uses: actions/setup-java@v4
3434
with:
3535
distribution: 'temurin' # See 'Supported distributions' for available options
36-
java-version: '17'
36+
java-version: '21'
3737
- name: Configure gradle
3838
uses: gradle/actions/setup-gradle@v3
3939
with:
@@ -139,11 +139,11 @@ jobs:
139139
# cancel-in-progress: true
140140
# steps:
141141
# - uses: actions/checkout@v4
142-
# - name: Use JDK 17
142+
# - name: Use JDK 21
143143
# uses: actions/setup-java@v4
144144
# with:
145145
# distribution: 'temurin' # See 'Supported distributions' for available options
146-
# java-version: '17'
146+
# java-version: '21'
147147
# - name: Configure gradle
148148
# uses: gradle/actions/setup-gradle@v3
149149
# with:

0 commit comments

Comments
 (0)