Skip to content

Commit 4c59019

Browse files
committed
fix unique artifact names to use matrix identifier
1 parent b703d26 commit 4c59019

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/cypress new ui.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
cypress/e2e/retention/ui-homepage.cy.js
4141
cypress/e2e/retention/ui-homepage-edit.cy.js
4242
cypress/e2e/retention/ui-reports.cy.js
43+
# keep running jobs even if one test fails in case there are multiple failed tests
4344
fail-fast: false
4445

4546
###################################################################################################
@@ -87,13 +88,15 @@ jobs:
8788
- uses: actions/upload-artifact@v4
8889
if: failure()
8990
with:
90-
name: "cypress-screenshots-${{ github.job }}"
91+
name: "cypress-screenshots-${{ matrix.name }}"
9192
path: ui/cypress/screenshots
93+
if-no-files-found: ignore
9294

9395
- uses: actions/upload-artifact@v4
9496
if: failure()
9597
with:
96-
name: "cypress-videos-${{ github.job }}"
98+
name: "cypress-videos-${{ matrix.name }}"
9799
path: ui/cypress/videos
100+
if-no-files-found: ignore
98101

99102

0 commit comments

Comments
 (0)