actions: Test check files 3
This commit is contained in:
parent
5aa86ad208
commit
8fd8de4920
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user