Skip to content

Commit

Permalink
only upload artifacts on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
shibbas committed Oct 25, 2023
1 parent b4decd0 commit aa7d8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit aa7d8cf

Please sign in to comment.