File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ jobs:
389
389
done
390
390
391
391
- name : Move coverage files
392
- if : github.event.pull_request.draft != true && matrix.coverage
392
+ if : success() && github.event.pull_request.draft != true && matrix.coverage
393
393
run : |
394
394
mkdir -p ./coverage/lcov
395
395
mkdir -p ./coverage/json
@@ -400,7 +400,7 @@ jobs:
400
400
done
401
401
402
402
- name : Save coverage artifacts
403
- if : github.event.pull_request.draft != true && matrix.coverage
403
+ if : success() && github.event.pull_request.draft != true && matrix.coverage
404
404
uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
405
405
with :
406
406
name : ${{ matrix.upload-artifact-name }}
@@ -412,7 +412,7 @@ jobs:
412
412
needs : [test]
413
413
runs-on : ubuntu-latest
414
414
timeout-minutes : 3
415
- if : github.event_name != 'merge_group' && github.event.pull_request.draft != true
415
+ if : success() && github.event_name != 'merge_group' && github.event.pull_request.draft != true
416
416
steps :
417
417
- name : Checkout code
418
418
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -441,7 +441,7 @@ jobs:
441
441
- setup-build
442
442
runs-on : ubuntu-latest
443
443
timeout-minutes : 3
444
- if : github.event.pull_request.draft != true
444
+ if : success() && github.event.pull_request.draft != true
445
445
steps :
446
446
- name : Checkout code
447
447
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
You can’t perform that action at this time.
0 commit comments