1
0

Enable continue-on-error for JSON validation features to allow multiple problems to be reported with a single run

This commit is contained in:
Breezebuilder
2025-03-27 12:57:36 +11:00
parent 5f0094b92a
commit 1e3ece042c

View File

@@ -110,6 +110,7 @@ jobs:
done < changed_mods.txt
- name: Validate JSON Format
continue-on-error: true
if: steps.find-changed-mods.outputs.changed_mods_found == 'true'
run: |
# Use jq to validate each JSON file
@@ -123,6 +124,7 @@ jobs:
done < changed_mods.txt
- name: Validate meta.json Against Schema
continue-on-error: true
if: steps.find-changed-mods.outputs.changed_mods_found == 'true'
uses: dsanders11/json-schema-validate-action@v1.2.0
with:
@@ -130,6 +132,7 @@ jobs:
files: ${{ steps.find-changed-mods.outputs.meta_json_files }}
- name: Validate Download URLs
continue-on-error: true
if: steps.find-changed-mods.outputs.changed_mods_found == 'true'
run: |
while read -r mod_path; do