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