File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3030echo " Found changed crates: ${changed_crates[*]} "
3131
3232if [ ${# changed_crates[@]} -eq 0 ]; then
33- echo " matrix={ \" component \" :[]} " >> " $GITHUB_OUTPUT "
33+ echo " matrix=[] " >> " $GITHUB_OUTPUT "
3434else
3535 json_array=$( printf ' "%s",' " ${changed_crates[@]} " | sed ' s/,$//' )
36- echo " matrix={ \" component \" : [$json_array ]} " >> " $GITHUB_OUTPUT "
36+ echo " matrix=[$json_array ]" >> " $GITHUB_OUTPUT "
3737fi
Original file line number Diff line number Diff line change 2929
3030 publish :
3131 needs : detect-changes
32- if : ${{ fromJson( needs.detect-changes.outputs.matrix).component != '[]' }}
32+ if : ${{ needs.detect-changes.outputs.matrix != '[]' }}
3333 runs-on : ubuntu-latest
3434 env :
3535 GH_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments