From b8164161a3f92937a8a3ce5c309fbdda5697e091 Mon Sep 17 00:00:00 2001 From: "James R. Perkins" Date: Mon, 11 Dec 2023 11:47:36 -0800 Subject: [PATCH] Enable testing with Java 22 early access. Add a test assumption when an early access version is used. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2af9f35..b48d556 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,12 +54,12 @@ jobs: java-version: ${{ matrix.java }} cache: 'maven' - name: Build and Test on Java ${{ matrix.java }} - run: mvn clean install + run: mvn -B clean install -fae - uses: actions/upload-artifact@v3 if: failure() with: name: surefire-reports-${{ matrix.os }}-${{ matrix.java }} - path: '**/surefire-reports/*.txt' + path: '**/surefire-reports/' format-check: runs-on: ubuntu-latest