From cae5dae19863e229cc456907e7d7438f33a038c4 Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Wed, 23 Oct 2024 13:36:47 -0400 Subject: [PATCH] upgrade github actions test matrix (#478) --- .github/workflows/CI.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 801f5aa40..81fcac5d3 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -28,24 +28,34 @@ on: jobs: test: - name: "${{ matrix.platform }} with Java ${{ matrix.java-version }}" + name: '${{ matrix.platform }} with Java ${{ matrix.java-distribution }} version ${{ matrix.java-version }}' strategy: matrix: platform: - ubuntu-latest - - windows-latest - - macos-latest + java-distribution: + - adopt-hotspot + - temurin + - zulu java-version: - 8 - 11 + include: + - platform: windows-latest + java-distribution: adopt-hotspot + java-version: 11 + - platform: macos-latest + java-distribution: adopt-hotspot + java-version: 11 runs-on: ${{ matrix.platform }} + timeout-minutes: 5 steps: - name: Checkout uses: actions/checkout@v3 - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: - distribution: adopt-hotspot + distribution: ${{ matrix.java-distribution }} java-version: ${{ matrix.java-version }} - name: Test and Package run: mvn -B package