Skip to content

Commit

Permalink
go back to original status check for matrix jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhodges committed Aug 29, 2024
1 parent 40c7d6b commit 0768551
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,10 @@ jobs:
- integration-tests
steps:
- name: See the individual Run Integration Tests jobs for details
run:
exit 1
# see https://stackoverflow.com/a/67532120/4907315
if: >-
${{
contains(needs.*.result, 'failure')
|| contains(needs.*.result, 'cancelled')
|| contains(needs.*.result, 'skipped')
}}
run: |
result="${{ needs.build.result }}"
if [[ $result == "success" || $result == "skipped" ]]; then
exit 0
else
exit 1
fi

0 comments on commit 0768551

Please sign in to comment.