mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-03-11 05:17:46 +08:00
fix json-validator
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
07b603ae74
commit
9458650f8b
1 changed files with 1 additions and 1 deletions
2
.github/workflows/json-validator.yml
vendored
2
.github/workflows/json-validator.yml
vendored
|
@ -30,6 +30,6 @@ jobs:
|
|||
for file in "${JSON_FILES[@]}"; do
|
||||
json validate --schema-file=php/containers-schema.json --document-file="$file" 2>&1 | tee -a ./json-validator.log
|
||||
done
|
||||
if grep -q "document does not validate with schema." ./json-validator.log; then
|
||||
if grep -q "document does not validate with schema.\|invalid JSONFile" ./json-validator.log; then
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue