File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 3939 id : read-json
4040 run : | # to read multi-line JSON file and not bother with escaping
4141 if [ -f "${{ inputs.config_file }}" ]; then
42- echo "config<<EOF" >> $GITHUB_OUTPUT
43- cat ${{ inputs.config_file }} >> $GITHUB_OUTPUT
44- echo "EOF" >> $GITHUB_OUTPUT
42+ {
43+ echo "config<<EOF" >> $GITHUB_OUTPUT;
44+ cat ${{ inputs.config_file }} >> $GITHUB_OUTPUT;
45+ echo "EOF" >> $GITHUB_OUTPUT;
46+ }
4547 else
4648 echo "config={}" >> $GITHUB_OUTPUT
4749 fi
6163 - name : Lint XML
6264 id : linter
6365 run : |
64-
6566 echo '${{ steps.find-xml.outputs.filelist }}' | jq -c '.[]' | while read i; do
6667 ignore=`jq --null-input '["${i}"] - ${{ steps.read-ignore.outputs.ignore }}'`
68+ echo `jq --null-input '["${i}"] - ${{ steps.read-ignore.outputs.ignore }}'`
6769
6870 if [ "$ignore" = "[]" ]; then
6971 echo "Skipping ${i}"
You can’t perform that action at this time.
0 commit comments