From 87966ded0fba7c083fbfb1c741fff241b1b03db6 Mon Sep 17 00:00:00 2001 From: Sahara Yousuf Date: Tue, 12 Mar 2024 12:12:40 -0500 Subject: [PATCH] Correct save artifacts step in workflow --- .github/workflows/test-dotnet-samples.yml | 29 ++++++++++------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test-dotnet-samples.yml b/.github/workflows/test-dotnet-samples.yml index 953bf41..ce02842 100644 --- a/.github/workflows/test-dotnet-samples.yml +++ b/.github/workflows/test-dotnet-samples.yml @@ -159,24 +159,21 @@ jobs: echo "Not available on this os" fi fi - - name: List sample output files - run: | - ls ${{ github.workspace}}/ - name: Save artifacts uses: actions/upload-artifact@v4 with: name: output-${{ runner.os }}-${{matrix.dir}} path: | - **.docx - **.xslx - **.pptx - **.pdf - **.tif - **.png - **.jpg - **.eps - **.tiff - **.bmp - **.gif - **.json - **.txt + **/*.docx + **/*.xslx + **/*.pptx + **/*.pdf + **/*.tif + **/*.png + **/*.jpg + **/*.eps + **/*.tiff + **/*.bmp + **/*.gif + **/*.json + **/*.txt