mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-01 10:55:23 -08:00
Use if: ${{ !cancelled() }}
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/manual-run.yml
vendored
2
.github/workflows/manual-run.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
||||
|
||||
- name: Create test report
|
||||
uses: ./
|
||||
if: success() || failure()
|
||||
if: ${{ !cancelled() }}
|
||||
with:
|
||||
name: JEST Tests
|
||||
path: __tests__/__results__/*.xml
|
||||
|
||||
Reference in New Issue
Block a user