Fix condition to extrac NC logs in cypress workflow

Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
Louis Chemineau 2023-03-27 12:13:24 +02:00
parent c43220abd2
commit 8cc29dd3dc

View 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