chore: add check for empty array
This commit is contained in:
parent
9c033d7ad2
commit
5d94f5ec15
2
.github/workflows/ci-cd-trigger.yml
vendored
2
.github/workflows/ci-cd-trigger.yml
vendored
@ -287,7 +287,7 @@ jobs:
|
||||
steps:
|
||||
- run: |
|
||||
echo result="${{ needs.cypress.result }}"
|
||||
if [[ $result == "success" || $result == "skipped" || $result == "null" ]]; then
|
||||
if [[ $result == "success" || $result == "skipped" ]]; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
|
1
.github/workflows/cypress-run.yml
vendored
1
.github/workflows/cypress-run.yml
vendored
@ -35,6 +35,7 @@ jobs:
|
||||
run: echo ${{ steps.step.outputs.runner }}
|
||||
|
||||
e2e:
|
||||
if: ${{ fromJSON(inputs.projects) }} != []
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
Loading…
Reference in New Issue
Block a user