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
4
.github/workflows/_base-ui-tests.yml
vendored
4
.github/workflows/_base-ui-tests.yml
vendored
|
|
@ -130,7 +130,9 @@ jobs:
|
|||
path: ./apps/${{ github.event.repository.name }}/.cypress-coverage/clover.xml
|
||||
- name: Compress Cypress Videos
|
||||
run: |
|
||||
zip -r cypress_recordings.zip ./cypressVideos
|
||||
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