File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 97
97
98
98
helm-test :
99
99
needs : [get-test-case]
100
- if : ${{ needs.get-test-case.outputs.value_files != '[]' }}
100
+ if : ${{ fromJSON( needs.get-test-case.outputs.value_files).length != 0 }}
101
101
strategy :
102
102
matrix :
103
103
value_file : ${{ fromJSON(needs.get-test-case.outputs.value_files) }}
Original file line number Diff line number Diff line change 47
47
scan-docker :
48
48
needs : get-image-list
49
49
runs-on : " docker-build-${{ inputs.node }}"
50
- if : ${{ needs.get-image-list.outputs.matrix != '' }}
50
+ if : ${{ fromJSON( needs.get-image-list.outputs.matrix).length != 0 }}
51
51
strategy :
52
52
matrix :
53
53
image : ${{ fromJson(needs.get-image-list.outputs.matrix) }}
Original file line number Diff line number Diff line change 33
33
34
34
clean-up :
35
35
needs : get-build-matrix
36
- if : ${{ needs.get-image-list .outputs.matrix != '' }}
36
+ if : ${{ fromJSON( needs.get-build-matrix .outputs.nodes).length != 0 }}
37
37
strategy :
38
38
matrix :
39
39
node : ${{ fromJson(needs.get-build-matrix.outputs.nodes) }}
48
48
49
49
build :
50
50
needs : [get-build-matrix, clean-up]
51
- if : ${{ needs.get-image-list .outputs.matrix != '' }}
51
+ if : ${{ fromJSON( needs.get-build-matrix .outputs.nodes).length != 0 }}
52
52
strategy :
53
53
matrix :
54
54
example : ${{ fromJson(needs.get-build-matrix.outputs.examples) }}
Original file line number Diff line number Diff line change 24
24
25
25
image-build :
26
26
needs : job1
27
- if : ${{ needs.job1.outputs.run_matrix != '{"include":[]}' }}
27
+ if : ${{ fromJSON( needs.job1.outputs.run_matrix).length != 0 }}
28
28
strategy :
29
29
matrix : ${{ fromJSON(needs.job1.outputs.run_matrix) }}
30
30
fail-fast : false
You can’t perform that action at this time.
0 commit comments