Improve readability of if condition

This commit is contained in:
Rodel 2022-05-24 12:47:00 +08:00
parent 89a3924512
commit f279202ee8
1 changed files with 6 additions and 1 deletions

View File

@ -162,7 +162,12 @@ jobs:
publish-test-reports:
name: Publish test reports
if: always() && (contains( needs.*.result, 'success' ) || contains( needs.*.result, 'failure' ))
if: |
always() &&
(
contains( needs.*.result, 'success' ) ||
contains( needs.*.result, 'failure' )
)
runs-on: ubuntu-20.04
needs: [api-tests-run, e2e-tests-run, k6-tests-run]
env: