Skip to content

Commit af2f771

Browse files
authored
Test on all supported JDKs
1 parent 932d135 commit af2f771

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/maven.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@ jobs:
1212
build:
1313

1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
java: [ '8', '11', '16' ] # All currently supported versions
1518

1619
steps:
1720
- uses: actions/checkout@v2
18-
- name: Set up JDK 8
21+
- name: Set up JDK ${{ matrix.java }}
1922
uses: actions/setup-java@v2
2023
with:
21-
java-version: '8'
24+
java-version: ${{ matrix.java }}
2225
distribution: 'adopt'
2326
- name: Build with Maven
2427
run: mvn -B package --file pom.xml

0 commit comments

Comments
 (0)