Always upload Cypress test videos on failures (#27423)

Signed-off-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
Jon Koops 2024-03-01 15:09:03 +01:00 committed by GitHub
parent 1792af6850
commit 4e5ed3ebef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -329,7 +329,7 @@ jobs:
- name: Upload Cypress videos
uses: actions/upload-artifact@v3
if: github.repository != 'keycloak/keycloak-private'
if: always() && github.repository != 'keycloak/keycloak-private'
with:
name: cypress-videos-${{ matrix.container }}-${{ matrix.browser }}
path: js/apps/admin-ui/cypress/videos