Skip to content

Commit 933034b

Browse files
committed
update gh action upload-artifact
1 parent ba14b3b commit 933034b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,17 @@ jobs:
4242
yarn couchdb:stop
4343
4444
- name: Upload screenshots on failure
45-
uses: actions/upload-artifact@v3
45+
uses: actions/upload-artifact@v4
4646
if: failure()
4747
with:
4848
name: cypress-screenshots
4949
path: cypress/screenshots
50+
retention-days: 7 # Optional: set retention period
5051

5152
- name: Upload videos
52-
uses: actions/upload-artifact@v3
53+
uses: actions/upload-artifact@v4
5354
if: always()
5455
with:
5556
name: cypress-videos
5657
path: cypress/videos
58+
retention-days: 7 # Optional: set retention period

0 commit comments

Comments
 (0)