Skip to content

Commit 9a1f474

Browse files
a-orenclaude
andcommitted
build: update CI workflows to use Java 21
The project source/target compatibility was changed to Java 21 but CI workflows still used Java 17, causing compilation failures. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 043a0de commit 9a1f474

6 files changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/IJ-latest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v4
18-
- name: Set up JDK 17
18+
- name: Set up JDK 21
1919
uses: actions/setup-java@v3
2020
with:
21-
java-version: 17
21+
java-version: 21
2222
distribution: 'temurin'
2323
cache: 'gradle'
2424
- name: Grant execute permission for gradlew

.github/workflows/IJ.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
steps:
1717
- name: Checkout Code
1818
uses: actions/checkout@v4
19-
- name: Set up JDK 17
19+
- name: Set up JDK 21
2020
uses: actions/setup-java@v3
2121
with:
22-
java-version: 17
22+
java-version: 21
2323
distribution: 'temurin'
2424
cache: 'gradle'
2525
- name: Grant execute permission for gradlew

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v2
18-
- name: Set up JDK 17
18+
- name: Set up JDK 21
1919
uses: actions/setup-java@v3
2020
with:
21-
java-version: 17
21+
java-version: 21
2222
distribution: 'temurin'
2323
cache: 'gradle'
2424
- name: Grant execute permission for gradlew
@@ -34,10 +34,10 @@ jobs:
3434

3535
steps:
3636
- uses: actions/checkout@v2
37-
- name: Set up JDK 17
37+
- name: Set up JDK 21
3838
uses: actions/setup-java@v3
3939
with:
40-
java-version: 17
40+
java-version: 21
4141
distribution: 'temurin'
4242
cache: 'gradle'
4343
- name: Grant execute permission for gradlew
@@ -53,10 +53,10 @@ jobs:
5353

5454
steps:
5555
- uses: actions/checkout@v2
56-
- name: Set up JDK 17
56+
- name: Set up JDK 21
5757
uses: actions/setup-java@v3
5858
with:
59-
java-version: 17
59+
java-version: 21
6060
distribution: 'temurin'
6161
cache: 'gradle'
6262
- name: Grant execute permission for gradlew

.github/workflows/publish-marketplace.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
- name: Checkout repository
2525
uses: actions/checkout@v4
2626

27-
- name: Set up JDK 17
27+
- name: Set up JDK 21
2828
uses: actions/setup-java@v4
2929
with:
30-
java-version: 17
30+
java-version: 21
3131
distribution: 'temurin'
3232
cache: 'gradle'
3333

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v2
11-
- name: Set up JDK 17
11+
- name: Set up JDK 21
1212
uses: actions/setup-java@v3
1313
with:
14-
java-version: 17
14+
java-version: 21
1515
distribution: 'temurin'
1616
cache: 'gradle'
1717
- name: Grant execute permission for gradlew

.github/workflows/stage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
- name: Checkout sources
1818
uses: actions/checkout@v4
1919

20-
- name: Install Java 17
20+
- name: Install Java 21
2121
uses: actions/setup-java@v3
2222
with:
23-
java-version: 17
23+
java-version: 21
2424
distribution: 'oracle'
2525
cache: 'gradle'
2626

0 commit comments

Comments
 (0)