Skip to content

Commit 51103cd

Browse files
committed
infra: test jdk17 as well with github CI
1 parent c21d054 commit 51103cd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
platform: [ubuntu-latest, macos-latest, windows-latest]
12+
jdk: [11, 17]
1213
runs-on: ${{ matrix.platform }}
1314
steps:
1415
- uses: actions/checkout@v3
@@ -21,11 +22,11 @@ jobs:
2122
path: ~/.m2/repository
2223
key: maven-cache-${{ hashFiles('**/pom.xml') }}
2324

24-
- name: Set up JDK 11
25+
- name: Set up JDK ${{ matrix.jdk }}
2526
uses: actions/setup-java@v3
2627
with:
2728
distribution: temurin
28-
java-version: 11
29+
java-version: ${{ matrix.jdk }}
2930

3031
- name: Build with Maven
3132
run: ./mvnw --errors --no-transfer-progress install

0 commit comments

Comments
 (0)