From 8cf93fc3e48d89c2ddc0d1801503e7525e326bdb Mon Sep 17 00:00:00 2001 From: PlantUML Date: Mon, 26 Aug 2024 09:25:46 +0000 Subject: [PATCH] chore: try to ignore Java 8 on glpv2 --- .github/workflows/ci.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 087213d0a8a..025dd58b7af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,13 +106,23 @@ jobs: cache: gradle # Compile / Test / Package are separate steps so the reason for any failure is more obvious in GitHub UI - - name: Compile - if: needs.workflow_config.outputs.do_test_linux == 'true' - run: gradle -q compileJava --no-daemon + - name: Compile (excluding plantuml-gplv2 on Java 8) + if: needs.workflow_config.outputs.do_test_linux == 'true' + run: | + if [ "${{ matrix.java_version }}" == "8" ]; then + gradle -q compileJava --no-daemon -x :plantuml-gplv2:compileJava + else + gradle -q compileJava --no-daemon + fi - - name: Test - if: needs.workflow_config.outputs.do_test_linux == 'true' - run: gradle test --no-daemon -i + - name: Test (excluding plantuml-gplv2 on Java 8) + if: needs.workflow_config.outputs.do_test_linux == 'true' + run: | + if [ "${{ matrix.java_version }}" == "8" ]; then + gradle test --no-daemon -x :plantuml-gplv2:test -i + else + gradle test --no-daemon -i + fi - name: Upload test reports uses: actions/upload-artifact@v4