Skip to content

Commit 6669865

Browse files
committed
bump
1 parent ce0f11c commit 6669865

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/xmllinter.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ jobs:
4747
id: find-xml
4848
run: |
4949
FILES=`find . -type f -iname "*.xml"`
50+
for item in ${FILES}[@]; do
51+
if [ ${{ contains(fromJSON(steps.read-json.outputs.config).ignore, item) }} -eq "true"]; then
52+
echo "Skip"
53+
else
54+
echo "${item}"
55+
fi
56+
done
5057
#if [[ "${FILES}" != "" ]]; then
5158
# JSON=`printf '%s\n' "${FILES[@]}" | jq -R . | jq -s .`
5259
# echo "files=${JSON}" >> $GITHUB_OUTPUT
@@ -60,7 +67,8 @@ jobs:
6067
6168
- name: Lint XML
6269
run: |
63-
for item in "${{ steps.find-xml.outputs.files }}[@]"; do
70+
FILES=${{ steps.read-json.outputs.files }}
71+
for item in ${FILES}[@]; do
6472
echo "${item}"
6573
done
6674
#echo ${{ contains(fromJSON(steps.read-json.outputs.config).ignore, 'bullshit') }}

0 commit comments

Comments
 (0)