From: Louis Chemineau Date: Mon, 27 Mar 2023 10:13:24 +0000 (+0200) Subject: Fix condition to extrac NC logs in cypress workflow X-Git-Tag: v26.0.1rc1~20^2~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dcd727ec9c37f99aaa7c3e2203a68d6cdc17f102;p=nextcloud-server.git Fix condition to extrac NC logs in cypress workflow Signed-off-by: Louis Chemineau --- 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