Skip to content

Commit 891bee7

Browse files
committed
Setup required JDK for newer Gradle versions
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
1 parent c08277c commit 891bee7

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,16 @@ permissions:
2424
jobs:
2525
build-and-test:
2626
runs-on: ubuntu-latest
27+
strategy:
28+
matrix:
29+
java: [ '11', '21' ]
2730
steps:
2831
- uses: actions/checkout@v6
2932

30-
- name: set up JDK 11
33+
- name: set up JDK
3134
uses: actions/setup-java@v5
3235
with:
33-
java-version: '11'
36+
java-version: ${{ matrix.java }}
3437
distribution: 'temurin'
3538

3639
- name: Cache Gradle wrapper dists

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v6
1717

18-
- name: set up JDK 11
18+
- name: set up JDK
1919
uses: actions/setup-java@v5
2020
with:
21-
java-version: '11'
21+
java-version: 21
2222
distribution: 'temurin'
2323

2424
- name: Cache Gradle dependencies

0 commit comments

Comments
 (0)