From 8eff8a26e75bdfa908079adffddd3daff65cac4f Mon Sep 17 00:00:00 2001 From: FireMaskterK <20838718+FireMasterK@users.noreply.github.com> Date: Sun, 31 Oct 2021 18:05:04 +0000 Subject: [PATCH] Run CI on both Java 11 and 17. --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a15decd..b93f035 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,14 +9,17 @@ on: jobs: build-and-test: runs-on: ubuntu-latest + strategy: + matrix: + java: [11, 17] steps: - uses: actions/checkout@v2.3.5 - - name: set up JDK 11 + - name: set up JDK ${{ matrix.java }} uses: actions/setup-java@v2 with: - java-version: 11 - distribution: 'adopt-openj9' + java-version: ${{ matrix.java }} + distribution: temurin check-latest: true - name: Cache Gradle dependencies