Skip to content

Commit 3343bf5

Browse files
committed
Upload screenshots only for failed Selenium tests
Successful tests doesn't produce screenshots. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent 158b44e commit 3343bf5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test-selenium.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
154154
- name: Upload screenshots
155155
uses: actions/upload-artifact@v2
156-
if: ${{ success() || failure() }}
156+
if: ${{ failure() }}
157157
with:
158158
name: selenium-screenshots
159159
path: ${{ github.workspace }}/build/selenium/**/*

0 commit comments

Comments
 (0)