Update pr.yml
parent
ded838881f
commit
f427c09e88
|
@ -92,5 +92,5 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: fail if conditional jobs failed
|
||||
if: contains(fromJSON('["failure", "skipped", "cancelled"]'), needs.*.result)
|
||||
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped') || contains(needs.*.result, 'cancelled')
|
||||
run: exit 1
|
||||
|
|
Loading…
Reference in New Issue