File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -873,7 +873,7 @@ jobs:
873873 name : E2E ${{ matrix.label || matrix.test-application }} Test
874874 # We need to add the `always()` check here because the previous step has this as well :(
875875 # See: https://github.com/actions/runner/issues/2205
876- if : always() && needs.job_e2e_prepare.result == 'success' && fromJSON( needs.job_e2e_prepare.outputs.matrix).include.length > 0
876+ if : always() && needs.job_e2e_prepare.result == 'success' && needs.job_e2e_prepare.outputs.matrix != '{"include":[]}'
877877 needs : [job_get_metadata, job_build, job_e2e_prepare]
878878 runs-on : ubuntu-20.04
879879 timeout-minutes : 15
@@ -994,7 +994,7 @@ jobs:
994994 # See: https://github.com/actions/runner/issues/2205
995995 if :
996996 always() && needs.job_e2e_prepare.result == 'success' &&
997- fromJson( needs.job_e2e_prepare.outputs.matrix-optional).include.length > 0 &&
997+ needs.job_e2e_prepare.outputs.matrix-optional != '{"include":[]}' &&
998998 (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
999999 github.actor != 'dependabot[bot]'
10001000 needs : [job_get_metadata, job_build, job_e2e_prepare]
You can’t perform that action at this time.
0 commit comments