From dc8d8636da6505516bd418c19389bc2a966348eb Mon Sep 17 00:00:00 2001 From: Raffael Meyer <14891507+barredterra@users.noreply.github.com> Date: Wed, 3 Dec 2025 02:15:49 +0100 Subject: [PATCH] test: always upload cypress recordings (#35032) --- .github/workflows/_base-ui-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_base-ui-tests.yml b/.github/workflows/_base-ui-tests.yml index 1c6038ab92..2681ba29e8 100644 --- a/.github/workflows/_base-ui-tests.yml +++ b/.github/workflows/_base-ui-tests.yml @@ -130,13 +130,13 @@ jobs: name: coverage-js-${{ matrix.index }} path: ./apps/${{ github.event.repository.name }}/.cypress-coverage/clover.xml - name: Compress Cypress Videos - if: steps.ui-tests.outcome == 'failure' + if: always() && steps.ui-tests.outcome == 'failure' run: | if find ./cypressVideos -mindepth 1 | read; then zip -r cypress_recordings.zip ./cypressVideos fi - name: Upload Cypress Videos - if: steps.ui-tests.outcome == 'failure' + if: always() && steps.ui-tests.outcome == 'failure' uses: actions/upload-artifact@v5 with: name: Cypress CI Video Recordings