actions: Test check files 3
Some checks failed
OnPush / CheckFiles (push) Failing after 6s
nathanwoodburn/woodburn/pipeline/head There was a failure building this commit

This commit is contained in:
Nathan Woodburn 2023-07-17 16:51:32 +10:00
parent 5aa86ad208
commit 8fd8de4920
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -17,11 +17,11 @@ jobs:
- 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 else
echo "File $file does not contain <file>!" echo "File $file does not contain $file!"
fi fi
done done