Skip to content

Commit a425d0d

Browse files
committed
Don't run Gradle 9 on Java 11
1 parent 709233f commit a425d0d

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

.github/workflows/changelog-print.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ jobs:
1010
name: changelogPrint
1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: jdk 11
14-
uses: actions/setup-java@v4
13+
- uses: actions/setup-java@v4
1514
with:
16-
java-version: 11
15+
java-version: 21
1716
distribution: 'temurin'
1817
- name: gradle caching
1918
uses: gradle/actions/setup-gradle@v4

.github/workflows/ci.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@ jobs:
2323
uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
26-
- name: Install JDK 11
27-
uses: actions/setup-java@v4
26+
- uses: actions/setup-java@v4
2827
with:
2928
distribution: "temurin"
30-
java-version: 11
29+
java-version: 21
3130
- name: gradle caching
3231
uses: gradle/actions/setup-gradle@v4
3332
- name: spotlessCheck
@@ -41,26 +40,26 @@ jobs:
4140
matrix:
4241
kind: [maven, gradle]
4342
# Test on the latest Java version once Gradle & Maven support it.
44-
jre: [11, 17, 21, 23]
43+
jre: [17, 21, 23]
4544
os: [ubuntu-latest]
4645
include:
4746
# test windows at the diagonals of the above matrix
4847
- kind: maven
49-
jre: 11
48+
jre: 17
5049
os: windows-latest
5150
- kind: gradle
5251
jre: 17
5352
os: windows-latest
5453
# npm on linux only (crazy slow on windows)
5554
- kind: npm
56-
jre: 11
55+
jre: 17
5756
os: ubuntu-latest
5857
- kind: shfmt
59-
jre: 11
58+
jre: 17
6059
os: ubuntu-latest
6160
shfmt-version: v3.8.0
6261
- kind: idea
63-
jre: 11
62+
jre: 17
6463
os: ubuntu-latest
6564
runs-on: ${{ matrix.os }}
6665
steps:

.github/workflows/deploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@ jobs:
3838
ORG_GRADLE_PROJECT_gpg_key64: ${{ secrets.GPG_KEY64 }}
3939
steps:
4040
- uses: actions/checkout@v4
41-
- name: jdk 11
42-
uses: actions/setup-java@v4
41+
- uses: actions/setup-java@v4
4342
with:
44-
java-version: 17
43+
java-version: 21
4544
distribution: 'temurin'
4645
- name: gradle caching
4746
uses: gradle/actions/setup-gradle@v4

0 commit comments

Comments
 (0)