From aa7d8cf0821915c7f4cbcbbed4b0a67b559526ff Mon Sep 17 00:00:00 2001 From: "Shibani Basava (from Dev Box)" Date: Wed, 25 Oct 2023 05:11:46 +0000 Subject: [PATCH] only upload artifacts on failure --- .github/workflows/playwright.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index d4cf6dc9..99c3d92c 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -20,7 +20,7 @@ jobs: - name: Run Playwright tests run: npx playwright test - uses: actions/upload-artifact@v3 - if: always() + if: failure() with: name: playwright-report path: playwright-report/