This commit is contained in:
@@ -13,9 +13,7 @@ runs:
|
||||
- name: Extract schema
|
||||
shell: bash
|
||||
run: |
|
||||
// use jq to extract the $schema property from the json-file
|
||||
schema=$(jq -r '.["$schema"]' < ${{ inputs.json-file }})
|
||||
// if it's there, we fetch the schema from the URL
|
||||
if [ -n "$schema" ]; then
|
||||
curl -s $schema > schema.json
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user