chore: add check for empty array

This commit is contained in:
Dariusz Majcherczyk 2024-03-07 16:50:27 +01:00
parent 9c033d7ad2
commit 5d94f5ec15
No known key found for this signature in database
GPG Key ID: C42DFD2F046CA415
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -35,6 +35,7 @@ jobs:
run: echo ${{ steps.step.outputs.runner }}
e2e:
if: ${{ fromJSON(inputs.projects) }} != []
strategy:
fail-fast: false
matrix: