Use if: ${{ !cancelled() }}

This commit is contained in:
Björn Kautler 2025-05-05 16:40:11 +02:00
parent 890a17cecf
commit 302102c9a4
3 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ jobs:
- run: npm test
- name: Upload test results
if: success() || failure()
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4
with:
name: test-results

View file

@ -15,7 +15,7 @@ jobs:
- name: Create test report
uses: ./
if: success() || failure()
if: ${{ !cancelled() }}
with:
name: JEST Tests
path: __tests__/__results__/*.xml