We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb97e0c commit 2216544Copy full SHA for 2216544
1 file changed
.github/workflows/xmllinter.yml
@@ -51,13 +51,15 @@ jobs:
51
echo "${item}"
52
done
53
54
- echo "files<<EOF" >> $GITHUB_OUTPUT
55
- printf '%s' "${FILES[@]}" | jq -R . | jq -s . >> $GITHUB_OUTPUT
56
- echo "EOF" >> $GITHUB_OUTPUT
+ filelist=`find . -type f -iname "*.xml" | jo -a`
+ #echo "files<<EOF" >> $GITHUB_OUTPUT
+ #printf '%s' "${FILES[@]}" | jq -R . | jq -s . >> $GITHUB_OUTPUT
57
+ #echo "EOF" >> $GITHUB_OUTPUT
58
+ echo "files=${filelist}" >> $GITHUB_OUTPUT
59
60
- name: Lint XML
61
run: |
- 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
63
echo ${i}
64
65
#FILES=$(echo "${{ steps.find-xml.outputs.files }}" | jq -c '.[]')
0 commit comments