Add failure() check to upload-artifact

This commit is contained in:
John Hildenbiddle
2020-07-23 01:49:57 -04:00
parent 456ed6de07
commit 2b521aa8d5
+4 -2
View File
@@ -33,7 +33,9 @@ jobs:
- uses: microsoft/playwright-github-action@v1.3.0
- name: e2e tests (jest+playwright)
run: npm run test:jest-e2e -- -ci
- uses: actions/upload-artifact@v2
- name: Upload artifacts (diff output)
uses: actions/upload-artifact@v2
if: failure()
with:
name: diff_output
name: diff-output
path: ${{ github.workspace }}/tests/**/__diff_output__/*