From a4041beaafb0e073d3ed11c3d60c4f6ef73d4654 Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Fri, 3 Oct 2025 14:04:54 +0200 Subject: [PATCH] debug: add debug output --- action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.yml b/action.yml index 20fc11e..c6879e4 100644 --- a/action.yml +++ b/action.yml @@ -14,6 +14,7 @@ runs: - name: Extract schema shell: bash run: | + echo "Extracting schema from ${{ inputs.json-file }}" schema=$(jq -r '.["$schema"]' < ${{ inputs.json-file }}) if [ -n "$schema" ]; then curl -s $schema > schema.json @@ -23,8 +24,10 @@ runs: - name: Update the schema to the latest version shell: bash run: | + echo "Updating schema to the latest version" npx ajv migrate -i schema.json -o schema.json - name: Validate JSON shell: bash run: | + echo "Validating JSON" npx ajv validate -s schema.json -d ${{ inputs.json-file }}