Skip to content

Commit

Permalink
separated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoabernier committed Jul 27, 2023
1 parent b082b08 commit 5319262
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/merge-sample-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ jobs:
with:
ref: Docs
path: Docs
- name: Join samples
- name: Download Power Apps samples
run: |
curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3.raw" \
-o .metadata/powerapps-samples.json \
https://raw.githubusercontent.com/pnp/powerapps-samples/main/main/.metadata/samples.json
- name: Join samples
run: |
jq -s '[.[][]]' ./main/samples/**/assets/sample.json .metadata/powerapps-samples.json > ./Docs/docs/samples.json
- name: Validate JSON
uses: docker://orrosenblatt/validate-json-action:latest
Expand Down

0 comments on commit 5319262

Please sign in to comment.