Skip to content

Commit

Permalink
Ensure all artifacts have a unique name by appending Node version to …
Browse files Browse the repository at this point in the history
…each
  • Loading branch information
tdonohue committed Apr 8, 2024
1 parent 2e92ee7 commit 54f1ce4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
uses: actions/upload-artifact@v4
if: matrix.node-version == '18.x'
with:
name: dspace-angular coverage report
name: coverage-report-${{ matrix.node-version }}
path: 'coverage/dspace-angular/lcov.info'
retention-days: 14

Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
uses: actions/upload-artifact@v4
if: always()
with:
name: e2e-test-videos
name: e2e-test-videos-${{ matrix.node-version }}
path: cypress/videos

# If e2e tests fail, Cypress creates a screenshot of what happened
Expand All @@ -147,7 +147,7 @@ jobs:
uses: actions/upload-artifact@v4
if: failure()
with:
name: e2e-test-screenshots
name: e2e-test-screenshots-${{ matrix.node-version }}
path: cypress/screenshots

- name: Stop app (in case it stays up after e2e tests)
Expand Down

0 comments on commit 54f1ce4

Please sign in to comment.