actions: Test check files 2
All checks were successful
OnPush / CheckFiles (push) Successful in 6s

This commit is contained in:
Nathan Woodburn 2023-07-17 16:50:39 +10:00
parent 6d47feee49
commit 5aa86ad208
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -14,12 +14,14 @@ jobs:
- name: List HTML files - name: List HTML files
run: | run: |
ls *.html ls *.html
- name: Check files - name: Check files
run: | run: |
for file in *.html; do for file in *.html; do
if grep -q "<file>" "$file"; then if grep -q "<file>" "$file"; then
echo "File $file contains <file>!" echo "File $file contains <file>!"
exit 1 exit 1
else
echo "File $file does not contain <file>!"
fi fi
done done