Skip to content

Commit c7fbd95

Browse files
committed
Minor.
1 parent bb45cb0 commit c7fbd95

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/keystore.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,8 @@ jobs:
9393
if: always()
9494
steps:
9595
- name: Fail if any job failed
96-
if: needs.changes.outputs.keystore-src == 'true'
97-
run: |
98-
if [[ "${{ needs.run-tests.outcome }}" != "success" || \
99-
"${{ needs.build-race-tests.outcome }}" != "success" ]]; then
100-
exit 1
101-
fi
96+
if: needs.changes.outputs.keystore-src == 'true' &&
97+
(needs.run-tests.outcome != 'success' ||
98+
needs.build-race-tests.outcome != 'success')
99+
run: exit 1
102100

0 commit comments

Comments
 (0)