Test on all supported JDKs
This commit is contained in:
parent
932d135ceb
commit
af2f771597
1 changed files with 5 additions and 2 deletions
7
.github/workflows/maven.yml
vendored
7
.github/workflows/maven.yml
vendored
|
@ -12,13 +12,16 @@ jobs:
|
|||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
java: [ '8', '11', '16' ] # All currently supported versions
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 8
|
||||
- name: Set up JDK ${{ matrix.java }}
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '8'
|
||||
java-version: ${{ matrix.java }}
|
||||
distribution: 'adopt'
|
||||
- name: Build with Maven
|
||||
run: mvn -B package --file pom.xml
|
||||
|
|
Loading…
Reference in a new issue