Upload screenshots only for failed Selenium tests
Successful tests doesn't produce screenshots. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
158b44e9e2
commit
3343bf54f5
2
.github/workflows/test-selenium.yml
vendored
2
.github/workflows/test-selenium.yml
vendored
@ -153,7 +153,7 @@ jobs:
|
||||
|
||||
- name: Upload screenshots
|
||||
uses: actions/upload-artifact@v2
|
||||
if: ${{ success() || failure() }}
|
||||
if: ${{ failure() }}
|
||||
with:
|
||||
name: selenium-screenshots
|
||||
path: ${{ github.workspace }}/build/selenium/**/*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user