diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 675ba9cf..a0416ee7 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -58,14 +58,14 @@ jobs: npx mochawesome-json-to-md -p ./tests/cypress/reports/mochawesome.json -o ./tests/cypress/reports/mochawesome.md npx mochawesome-report-generator ./tests/cypress/reports/mochawesome.json -o ./tests/cypress/reports/ cat ./tests/cypress/reports/mochawesome.md >> $GITHUB_STEP_SUMMARY - - name: Upload artifacts - uses: actions/upload-artifact@v2 + - name: Make artifacts available + uses: actions/upload-artifact@v3 if: failure() with: - name: cypress-artifact-safe-redirect-manager - retention-days: 7 + name: cypress-artifact + retention-days: 2 path: | - ${{ github.workspace }}/tests/cypress/screenshots/ - ${{ github.workspace }}/tests/cypress/videos/ - ${{ github.workspace }}/tests/cypress/logs/ - ${{ github.workspace }}/tests/cypress/reports/ + ${{ github.workspace }}/tests/cypress/screenshots/ + ${{ github.workspace }}/tests/cypress/videos/ + ${{ github.workspace }}/tests/cypress/logs/ + ${{ github.workspace }}/tests/cypress/reports/