Skip to content

Commit 06c2ac8

Browse files
BananeweizenCalixte
authored andcommitted
Run GitHub build with Java 11, 17, 21
1 parent 7a7c538 commit 06c2ac8

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,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
platform: [ubuntu-latest, macos-latest, windows-latest]
12-
jdk: [11, 17]
12+
jdk: [11, 17, 21]
1313
runs-on: ${{ matrix.platform }}
1414
permissions:
1515
checks: write
@@ -29,8 +29,9 @@ jobs:
2929
uses: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 # v4.1.0
3030
with:
3131
distribution: temurin
32+
# have Java 17 for Tycho last, as it will be in JAVA_HOME that way
3233
java-version: |
33-
11
34+
${{ matrix.jdk }}
3435
17
3536
3637
- name: Build with Maven

0 commit comments

Comments
 (0)