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:
873
873
name : E2E ${{ matrix.label || matrix.test-application }} Test
874
874
# We need to add the `always()` check here because the previous step has this as well :(
875
875
# 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":[]}'
877
877
needs : [job_get_metadata, job_build, job_e2e_prepare]
878
878
runs-on : ubuntu-20.04
879
879
timeout-minutes : 15
@@ -994,7 +994,7 @@ jobs:
994
994
# See: https://github.com/actions/runner/issues/2205
995
995
if :
996
996
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":[]}' &&
998
998
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
999
999
github.actor != 'dependabot[bot]'
1000
1000
needs : [job_get_metadata, job_build, job_e2e_prepare]
You can’t perform that action at this time.
0 commit comments