mirror of https://github.com/coder/code-server.git
fix(ci): always upload test artifacts
Before this commit, if the tests fail then the artifacts don't get uploaded. This makes it harder to debug failing e2e tests. To prevent this, this commit adds an "if" condition which says always run this step. Source: https://stackoverflow.com/a/58859404/3015595
This commit is contained in:
parent
61b5c09770
commit
9cbf6926f2
|
@ -44,6 +44,7 @@ jobs:
|
|||
yarn --frozen-lockfile
|
||||
yarn test
|
||||
- name: Upload test artifacts
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: test-videos
|
||||
|
|
Loading…
Reference in New Issue