fix: check if the video directories is empty

This commit is contained in:
sokumon 2025-12-02 17:23:23 +05:30
parent 9b704be8a1
commit 88bfcdffc4

View file

@ -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: