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