ci: build for Java 8, 11, and 15
Fixes
@@ -21,14 +21,17 @@ jobs:
build-verify:
name: Verify Build
runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ java: [ 8, 11, 15 ]
if: github.repository_owner == 'Apiman'
steps:
- name: Checkout Code
uses: actions/checkout@v2
- - name: Set up JDK 1.8
+ - name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
- java-version: 1.8
+ java-version: ${{ matrix.java }}
- name: Build Project
run: mvn clean install -Dinvoker.skip -Dmaven.javadoc.skip=true -Dmvn.skip.test=true -DskipTests=true -T1C -B
- name: Run Tests (Servlet ES)
