diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 6f1689ae..392fd2bc 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -68,11 +68,11 @@ jobs: env: CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - name: Save screenshots of failed tests - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: - name: cypress-screenshots - path: cypress/screenshots + name: cypress-screenshots-${{ matrix.runs-on }} + path: cypress/screenshots-${{ matrix.runs-on }} retention-days: 7 - name: Echo current time if: failure() diff --git a/.github/workflows/tests_dev.yaml b/.github/workflows/tests_dev.yaml index 793c1fb8..651f57bd 100644 --- a/.github/workflows/tests_dev.yaml +++ b/.github/workflows/tests_dev.yaml @@ -37,9 +37,9 @@ jobs: CYPRESS_TEST_USERNAME: ${{ secrets.CYPRESS_TEST_USERNAME }} CYPRESS_TEST_PASSWORD: ${{ secrets.CYPRESS_TEST_PASSWORD }} - name: Save screenshots of failed tests - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: - name: cypress-screenshots - path: cypress/screenshots + name: cypress-screenshots-${{ matrix.runs-on }} + path: cypress/screenshots-${{ matrix.runs-on }} retention-days: 7