mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-07-13 17:51:43 +00:00
[CI] Fix schema validation job not checking metadata files
This commit is contained in:
parent
7c80fac0ed
commit
66b58fb723
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ schema validation:
|
||||||
- git fetch https://gitlab.com/fdroid/fdroiddata.git
|
- git fetch https://gitlab.com/fdroid/fdroiddata.git
|
||||||
- set -xe
|
- set -xe
|
||||||
- app_ids=$(git diff --name-only --diff-filter=d FETCH_HEAD...HEAD "metadata/*.yml")
|
- app_ids=$(git diff --name-only --diff-filter=d FETCH_HEAD...HEAD "metadata/*.yml")
|
||||||
- if [ -n "$appids" ]; then
|
- if [ -n "$app_ids" ]; then
|
||||||
for app_id in $app_ids; do
|
for app_id in $app_ids; do
|
||||||
ajv validate -s schemas/metadata.json -d "$app_id";
|
ajv validate -s schemas/metadata.json -d "$app_id";
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue