chore: move if

This commit is contained in:
Dariusz Majcherczyk 2024-03-07 16:06:14 +01:00
parent 68a8186623
commit 6a0d631663
No known key found for this signature in database
GPG Key ID: C42DFD2F046CA415

View File

@ -196,11 +196,10 @@ jobs:
cypress: cypress:
needs: [build-sources, check-e2e-needed] needs: [build-sources, check-e2e-needed]
name: '(CI) cypress' name: '(CI) cypress'
if: ${{ needs.check-e2e-needed.outputs.run-tests == 'true' }} if: ${{ needs.check-e2e-needed.outputs.run-tests == 'true' }} && ${{ needs.build-sources.outputs.projects-e2e }} != null
uses: ./.github/workflows/cypress-run.yml uses: ./.github/workflows/cypress-run.yml
secrets: inherit secrets: inherit
with: with:
if: ${{ needs.build-sources.outputs.projects-e2e }} != null
projects: ${{ needs.build-sources.outputs.projects-e2e }} projects: ${{ needs.build-sources.outputs.projects-e2e }}
tags: '@smoke' tags: '@smoke'