File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -314,7 +314,14 @@ jobs:
314314
315315 - name : Check if building Archive or Counterexamples failed
316316 if : steps.archive.outcome == 'failure' || steps.counterexamples.outcome == 'failure'
317- run : exit 1
317+ run : |
318+ if [ "${{ steps.archive.outcome }}" == "failure" ]; then
319+ echo "❌ The \"build archive\" step above failed; please check its logs."
320+ fi
321+ if [ "${{ steps.counterexamples.outcome }}" == "failure" ]; then
322+ echo "❌ The \"build counterexamples\" step above failed; please check its logs."
323+ fi
324+ exit 1
318325
319326 # The cache secrets are available here, so we must not run any untrusted code.
320327 - name : put archive and counterexamples cache
Original file line number Diff line number Diff line change @@ -324,7 +324,14 @@ jobs:
324324
325325 - name : Check if building Archive or Counterexamples failed
326326 if : steps.archive.outcome == 'failure' || steps.counterexamples.outcome == 'failure'
327- run : exit 1
327+ run : |
328+ if [ "${{ steps.archive.outcome }}" == "failure" ]; then
329+ echo "❌ The \"build archive\" step above failed; please check its logs."
330+ fi
331+ if [ "${{ steps.counterexamples.outcome }}" == "failure" ]; then
332+ echo "❌ The \"build counterexamples\" step above failed; please check its logs."
333+ fi
334+ exit 1
328335
329336 # The cache secrets are available here, so we must not run any untrusted code.
330337 - name : put archive and counterexamples cache
Original file line number Diff line number Diff line change @@ -331,7 +331,14 @@ jobs:
331331
332332 - name : Check if building Archive or Counterexamples failed
333333 if : steps.archive.outcome == 'failure' || steps.counterexamples.outcome == 'failure'
334- run : exit 1
334+ run : |
335+ if [ "${{ steps.archive.outcome }}" == "failure" ]; then
336+ echo "❌ The \"build archive\" step above failed; please check its logs."
337+ fi
338+ if [ "${{ steps.counterexamples.outcome }}" == "failure" ]; then
339+ echo "❌ The \"build counterexamples\" step above failed; please check its logs."
340+ fi
341+ exit 1
335342
336343 # The cache secrets are available here, so we must not run any untrusted code.
337344 - name : put archive and counterexamples cache
Original file line number Diff line number Diff line change @@ -328,7 +328,14 @@ jobs:
328328
329329 - name : Check if building Archive or Counterexamples failed
330330 if : steps.archive.outcome == 'failure' || steps.counterexamples.outcome == 'failure'
331- run : exit 1
331+ run : |
332+ if [ "${{ steps.archive.outcome }}" == "failure" ]; then
333+ echo "❌ The \"build archive\" step above failed; please check its logs."
334+ fi
335+ if [ "${{ steps.counterexamples.outcome }}" == "failure" ]; then
336+ echo "❌ The \"build counterexamples\" step above failed; please check its logs."
337+ fi
338+ exit 1
332339
333340 # The cache secrets are available here, so we must not run any untrusted code.
334341 - name : put archive and counterexamples cache
You can’t perform that action at this time.
0 commit comments