From 307e8f513e1d9606e563257a02dba898c4671f16 Mon Sep 17 00:00:00 2001 From: Aaron Chung Date: Thu, 15 Feb 2024 12:31:55 -0800 Subject: [PATCH] test - hibernate-orm-test archive steps to run even if prior steps fail --- .github/workflows/run-hibernate-orm-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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