Always upload screenshots of errors (#759)

When the pipeline is cancelled by a preceding failing job, the screenshot upload job won't run. This change adds the flag that it will run even when preceding jobs failed.
This commit is contained in:
Erik Michelson 2020-11-17 11:04:29 +01:00 committed by GitHub
parent 42cbb51bfa
commit f7ab6f60c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,6 +50,7 @@ jobs:
browser: ${{ matrix.browser }}
start: 'yarn build:serve'
- uses: actions/upload-artifact@master
if: always()
with:
name: screenshots
path: cypress/screenshots