actions: Test check files 3
This commit is contained in:
parent
5aa86ad208
commit
8fd8de4920
@ -17,11 +17,11 @@ jobs:
|
||||
- name: Check files
|
||||
run: |
|
||||
for file in *.html; do
|
||||
if grep -q "<file>" "$file"; then
|
||||
echo "File $file contains <file>!"
|
||||
if grep -q "$file" "$file"; then
|
||||
echo "File $file contains $file!"
|
||||
exit 1
|
||||
else
|
||||
echo "File $file does not contain <file>!"
|
||||
echo "File $file does not contain $file!"
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user