From 1fdef3c7a46ac7f354b4236766e86deae52c4d58 Mon Sep 17 00:00:00 2001 From: felix-mu <57754753+felix-mu@users.noreply.github.com> Date: Mon, 22 Apr 2024 19:42:14 +0200 Subject: [PATCH] Update playwright.yml --- .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 782f9b4..7417c1d 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -31,7 +31,7 @@ jobs: - name: Run Playwright tests run: npx playwright test - uses: actions/upload-artifact@v4 - if: ${{ !cancelled() }} + if: ${{ (always() && steps.run-tests.outcome == 'success') || (failure() && steps.run-tests.outcome == 'failure') }} with: name: playwright-report path: playwright-report/