fix: check if the video directories is empty
This commit is contained in:
parent
9b704be8a1
commit
88bfcdffc4
1 changed files with 4 additions and 2 deletions
6
.github/workflows/_base-ui-tests.yml
vendored
6
.github/workflows/_base-ui-tests.yml
vendored
|
|
@ -129,8 +129,10 @@ jobs:
|
|||
name: coverage-js-${{ matrix.index }}
|
||||
path: ./apps/${{ github.event.repository.name }}/.cypress-coverage/clover.xml
|
||||
- name: Compress Cypress Videos
|
||||
run: |
|
||||
zip -r cypress_recordings.zip ./cypressVideos
|
||||
run: |
|
||||
if find ./cypressVideos -mindepth 1 | read; then
|
||||
zip -r cypress_recordings.zip ./cypressVideos
|
||||
fi
|
||||
- name: Upload Cypress Videos
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue