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:
|
steps:
|
||||||
- run: |
|
- run: |
|
||||||
echo result="${{ needs.cypress.result }}"
|
echo result="${{ needs.cypress.result }}"
|
||||||
if [[ $result == "success" || $result == "skipped" || $result == "null" ]]; then
|
if [[ $result == "success" || $result == "skipped" ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
exit 1
|
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 }}
|
run: echo ${{ steps.step.outputs.runner }}
|
||||||
|
|
||||||
e2e:
|
e2e:
|
||||||
|
if: ${{ fromJSON(inputs.projects) }} != []
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
Loading…
Reference in New Issue
Block a user