From 8cc29dd3dc2f97dd69ae1d1742e0e92767137daf Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Mon, 27 Mar 2023 12:13:24 +0200 Subject: [PATCH] Fix condition to extrac NC logs in cypress workflow Signed-off-by: Louis Chemineau --- .github/workflows/cypress.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5