aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/cypress.yml
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2023-03-27 12:13:24 +0200
committerLouis Chemineau <louis@chmn.me>2023-03-30 10:09:14 +0200
commit8cc29dd3dc2f97dd69ae1d1742e0e92767137daf (patch)
tree59952120a9ed07c969ccaa2cc83c958da947cadf /.github/workflows/cypress.yml
parentc43220abd22e88bc73190efa9483dc15f7c34ad0 (diff)
downloadnextcloud-server-8cc29dd3dc2f97dd69ae1d1742e0e92767137daf.tar.gz
nextcloud-server-8cc29dd3dc2f97dd69ae1d1742e0e92767137daf.zip
Fix condition to extrac NC logs in cypress workflow
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to '.github/workflows/cypress.yml')
-rw-r--r--.github/workflows/cypress.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml
index e7967d45afd..90f9946d354 100644
--- a/.github/workflows/cypress.yml
+++ b/.github/workflows/cypress.yml
@@ -92,7 +92,7 @@ jobs:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
- name: Extract NC logs
- if: ${{ matrix.containers != 'component' }}
+ if: ( success() || failure() ) && matrix.containers != 'component'
run: docker logs nextcloud-cypress-tests-server > nextcloud.log
- name: Upload NC logs