Fixing path to samples
This commit is contained in:
parent
b468359c62
commit
b9c621e495
|
@ -35,11 +35,11 @@ jobs:
|
|||
run: |
|
||||
curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
|
||||
-H "Accept: application/vnd.github.v3.raw" \
|
||||
-o ./main/.metadata/extension-samples.json \
|
||||
-o ./main/.metada/extension-samples.json \
|
||||
https://raw.githubusercontent.com/pnp/sp-dev-fx-extensions/main/.metadata/samples.json
|
||||
- name: Join samples
|
||||
run: |
|
||||
jq -s '[.[][]]' ./main/samples/**/assets/sample.json ./main/.metadata/extension-samples.json > ./Docs/docs/samples.json
|
||||
jq -s '[.[][]]' ./main/samples/**/assets/sample.json ./main/.metada/extension-samples.json > ./Docs/docs/samples.json
|
||||
- name: Validate JSON
|
||||
uses: docker://orrosenblatt/validate-json-action:latest
|
||||
env:
|
||||
|
|
Loading…
Reference in New Issue