From fd51a8ba08099f78f72d6e0e8bc300d8bcdcba73 Mon Sep 17 00:00:00 2001 From: A248 Date: Thu, 20 May 2021 14:36:16 -0400 Subject: [PATCH] Build against JDK 11 and 16 as well as 8 Depends on #8 --- .github/workflows/gradle.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index a1e7ae5..1be5207 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -9,13 +9,16 @@ on: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + java: [ '8', '11', '16' ] 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: 'zulu' - name: Build with Gradle run: ./gradlew build