Setup matrix so multiple java versions are tested.

This commit is contained in:
Speiger 2022-04-07 13:27:12 +02:00
parent ca38583f96
commit 9499a7f0e0
1 changed files with 5 additions and 2 deletions

View File

@ -15,15 +15,18 @@ on:
jobs:
build:
strategy:
matrix:
jdk: [8, 11, 14, 16, 17]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v1
with:
java-version: '11'
java-version: ${{ matrix.jdk }}
distribution: 'adopt'
cache: gradle
- name: Validate Gradle wrapper