From c520734fac0eda2c44699daf63e3fc3dc4a50657 Mon Sep 17 00:00:00 2001 From: Paolo Pialorsi Date: Mon, 15 Jan 2024 11:54:02 +0100 Subject: [PATCH] Added the sample.json validation action --- .github/workflows/validate-sample.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-sample.yml b/.github/workflows/validate-sample.yml index 9a106d3..8423a42 100644 --- a/.github/workflows/validate-sample.yml +++ b/.github/workflows/validate-sample.yml @@ -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