File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 44
44
45
45
- name : 📥 Download artifact
46
46
uses : actions/download-artifact@v4
47
+ id : download
47
48
if : ${{ !inputs.sharded }}
48
49
with :
49
50
github-token : ${{ secrets.GITHUB_TOKEN }}
@@ -52,13 +53,19 @@ jobs:
52
53
path : coverage
53
54
- name : 📥 Download sharded artifacts
54
55
uses : actions/download-artifact@v4
56
+ id : download
55
57
if : inputs.sharded
56
58
with :
57
59
github-token : ${{ secrets.GITHUB_TOKEN }}
58
60
run-id : ${{ github.event.workflow_run.id }}
59
61
pattern : coverage-*
60
62
path : coverage
61
63
merge-multiple : true
64
+ - name : Fail if failed to download files
65
+ if : steps.download.outputs.download-path == ''
66
+ run : |
67
+ echo "Failed to download coverage artifact"
68
+ exit 1
62
69
63
70
- id : extra_args
64
71
run : |
You can’t perform that action at this time.
0 commit comments