]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix condition to extrac NC logs in cypress workflow
authorLouis Chemineau <louis@chmn.me>
Mon, 27 Mar 2023 10:13:24 +0000 (12:13 +0200)
committerLouis Chemineau <louis@chmn.me>
Wed, 5 Apr 2023 09:51:45 +0000 (11:51 +0200)
Signed-off-by: Louis Chemineau <louis@chmn.me>
.github/workflows/cypress.yml

index e7967d45afd0b7367e89ad39f3c4d4662c9794a4..90f9946d354ce86d79fcd33d0512e0009666b6ef 100644 (file)
@@ -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