diff options
author | Louis Chemineau <louis@chmn.me> | 2023-03-27 12:13:24 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2023-04-05 11:51:45 +0200 |
commit | dcd727ec9c37f99aaa7c3e2203a68d6cdc17f102 (patch) | |
tree | 2e668b69d73c544590cfb665a7a4b3200de68af5 | |
parent | 1903bd47d3b6915217517b2589664714c588cf7f (diff) | |
download | nextcloud-server-dcd727ec9c37f99aaa7c3e2203a68d6cdc17f102.tar.gz nextcloud-server-dcd727ec9c37f99aaa7c3e2203a68d6cdc17f102.zip |
Fix condition to extrac NC logs in cypress workflow
Signed-off-by: Louis Chemineau <louis@chmn.me>
-rw-r--r-- | .github/workflows/cypress.yml | 2 |
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 |