diff --git a/.github/workflows/run-hibernate-orm-tests.yml b/.github/workflows/run-hibernate-orm-tests.yml index 73f66e87c..75e0e6328 100644 --- a/.github/workflows/run-hibernate-orm-tests.yml +++ b/.github/workflows/run-hibernate-orm-tests.yml @@ -45,14 +45,14 @@ jobs: run: | ./gradlew --no-parallel --no-daemon test-hibernate-only - name: 'Archive junit results' - if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false'}} + if: ${{ steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false' && !cancelled()}} uses: actions/upload-artifact@v4 with: name: junit-report path: ./wrapper/build/test-results retention-days: 5 - name: 'Archive html summary report' - if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false'}} + if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false' && !cancelled()}} uses: actions/upload-artifact@v4 with: name: html-summary-report