Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
a-masterov authored Nov 19, 2024
1 parent cc7905e commit 4492b29
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,9 @@ jobs:
needs: [build]
runs-on: ubuntu-latest
steps:
- name: OK
run: echo ${{ toJSON(needs.*.result) }}
- name: Fail
if: |
contains(needs.*.result, 'failure')
|| contains(needs.*.result, 'cancelled')
|| contains(needs.*.result, 'skipped')
run: exit 1

0 comments on commit 4492b29

Please sign in to comment.