Skip to content

Commit 2216544

Browse files
committed
bump
1 parent fb97e0c commit 2216544

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/xmllinter.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,15 @@ jobs:
5151
echo "${item}"
5252
done
5353
54-
echo "files<<EOF" >> $GITHUB_OUTPUT
55-
printf '%s' "${FILES[@]}" | jq -R . | jq -s . >> $GITHUB_OUTPUT
56-
echo "EOF" >> $GITHUB_OUTPUT
54+
filelist=`find . -type f -iname "*.xml" | jo -a`
55+
#echo "files<<EOF" >> $GITHUB_OUTPUT
56+
#printf '%s' "${FILES[@]}" | jq -R . | jq -s . >> $GITHUB_OUTPUT
57+
#echo "EOF" >> $GITHUB_OUTPUT
58+
echo "files=${filelist}" >> $GITHUB_OUTPUT
5759
5860
- name: Lint XML
5961
run: |
60-
echo "${{ steps.find-xml.outputs.files }}" | jq -c '.[]' | while read i; do
62+
echo "${{ steps.find-xml.outputs.filelist }}" | jq -c '.[]' | while read i; do
6163
echo ${i}
6264
done
6365
#FILES=$(echo "${{ steps.find-xml.outputs.files }}" | jq -c '.[]')

0 commit comments

Comments
 (0)