diff --git a/.github/workflows/ci-pharmcat.yml b/.github/workflows/ci-pharmcat.yml index 2e98dba97..59befedf1 100644 --- a/.github/workflows/ci-pharmcat.yml +++ b/.github/workflows/ci-pharmcat.yml @@ -40,6 +40,7 @@ jobs: run: ./gradlew test --no-daemon - uses: actions/upload-artifact@v4 + if: failure() with: name: ci-pharmcat-tests-jdk17 path: build/reports/tests/test/index.html @@ -49,6 +50,7 @@ jobs: run: ./gradlew testOnJava21 --no-daemon - uses: actions/upload-artifact@v4 + if: failure() with: name: ci-pharmcat-tests-jdk21 path: build/reports/tests/test/index.html