Skip to content

Commit 9d74171

Browse files
committed
Fix Gradle workflows to setup JDK 21
1 parent 5699536 commit 9d74171

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/gradle_build.yml

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

1313
steps:
1414
- uses: actions/checkout@v4
15-
- name: Set up JDK 17
15+
- name: Set up JDK 21
1616
uses: actions/setup-java@v4
1717
with:
18-
java-version: 17
18+
java-version: 21
1919
distribution: 'temurin'
2020
- name: Grant execute permission for gradlew
2121
run: chmod +x gradlew

.github/workflows/gradle_publish.yml

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

1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: Set up JDK 17
13+
- name: Set up JDK 21
1414
uses: actions/setup-java@v4
1515
with:
16-
java-version: 17
16+
java-version: 21
1717
distribution: 'temurin'
1818
- name: Grant execute permission for gradlew
1919
run: chmod +x gradlew

0 commit comments

Comments
 (0)