Skip to content

Commit

Permalink
Added the sample.json validation action
Browse files Browse the repository at this point in the history
  • Loading branch information
PaoloPia committed Jan 15, 2024
1 parent 19bdfac commit c520734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/validate-sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Fetch
if: ${{ hashFiles('**/samples.json') != '' }}
if: ${{ hashFiles('samples/contoso-retail-demo/assets/sample.json') != '' }}
id: fetch
run: |
response=$(curl -X POST -H "Content-Type: application/json" -d @assets/samples.json https://m365-galleries.azurewebsites.net/Samples/validateSample); echo "response=$response" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit c520734

Please sign in to comment.