We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 593c8a6 commit c0a29f3Copy full SHA for c0a29f3
.github/workflows/tests.yml
@@ -58,10 +58,10 @@ jobs:
58
steps:
59
- name: Status
60
run: |
61
- if [[ ${{ contains(needs.*.result, 'cancelled') }} ]]; then
+ if [[ "${{ contains(needs.*.result, 'cancelled') }}" == "true" ]]; then
62
echo "Workflow cancelled."
63
exit 1
64
- elif [[ ${{ contains(needs.*.result, 'failure') }} ]]; then
+ elif [[ "${{ contains(needs.*.result, 'failure') }}" == "true" ]]; then
65
echo "One or more jobs failed."
66
67
else
0 commit comments