Fixing path to samples
This commit is contained in:
parent
b468359c62
commit
b9c621e495
|
@ -35,11 +35,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
|
curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
|
||||||
-H "Accept: application/vnd.github.v3.raw" \
|
-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
|
https://raw.githubusercontent.com/pnp/sp-dev-fx-extensions/main/.metadata/samples.json
|
||||||
- name: Join samples
|
- name: Join samples
|
||||||
run: |
|
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
|
- name: Validate JSON
|
||||||
uses: docker://orrosenblatt/validate-json-action:latest
|
uses: docker://orrosenblatt/validate-json-action:latest
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue