Skip to content

Commit 7e6aa8a

Browse files
committed
update JDK to 21 for GitHub actions
1 parent 24f02b8 commit 7e6aa8a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
- name: Checkout repository
1515
uses: actions/checkout@v2
1616

17-
- name: Set up JDK 17
17+
- name: Set up JDK 21
1818
uses: actions/setup-java@v2
1919
with:
20-
java-version: '17'
20+
java-version: '21'
2121
distribution: 'microsoft'
2222

2323
- name: Build JAR

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/setup-java@v4
2020
with:
2121
distribution: corretto
22-
java-version: 17
22+
java-version: 21
2323

2424
- name: Setup Gradle
2525
uses: gradle/actions/setup-gradle@v3

0 commit comments

Comments
 (0)