File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -165,12 +165,14 @@ jobs:
165165
166166 - name : Download artifact (master run)
167167168+ continue-on-error : true
168169 with :
169170 name : cargo-check-benches-master-${{ github.sha }}
170171 path : ./artifacts/master
171172
172173 - name : Download artifact (current run)
173174175+ continue-on-error : true
174176 with :
175177 name : cargo-check-benches-current-${{ github.sha }}
176178 path : ./artifacts/current
@@ -183,6 +185,12 @@ jobs:
183185 exit 0
184186 fi
185187
188+ # fail if no artifacts
189+ if [ ! -d ./artifacts/master ] || [ ! -d ./artifacts/current ]; then
190+ echo "No artifacts found"
191+ exit 1
192+ fi
193+
186194 docker run --rm \
187195 -v $PWD/artifacts/master:/artifacts/master \
188196 -v $PWD/artifacts/current:/artifacts/current \
You can’t perform that action at this time.
0 commit comments