diff --git a/.github/workflows/example-build-artifacts.yml b/.github/workflows/example-build-artifacts.yml index 43e9f0424..fa0ebd28c 100644 --- a/.github/workflows/example-build-artifacts.yml +++ b/.github/workflows/example-build-artifacts.yml @@ -33,7 +33,7 @@ jobs: build: npm run build working-directory: examples/nextjs - name: Store build artifacts - uses: actions/upload-artifact@v4 # https://github.com/actions/upload-artifact + uses: actions/upload-artifact@v6 # https://github.com/actions/upload-artifact with: name: app path: examples/nextjs/build @@ -52,7 +52,7 @@ jobs: uses: actions/checkout@v6 - name: Restore build artifacts - uses: actions/download-artifact@v4 # https://github.com/actions/download-artifact + uses: actions/download-artifact@v7 # https://github.com/actions/download-artifact with: name: app path: examples/nextjs/build diff --git a/.github/workflows/example-chrome.yml b/.github/workflows/example-chrome.yml index 81d6a3152..4bd9dcb5c 100644 --- a/.github/workflows/example-chrome.yml +++ b/.github/workflows/example-chrome.yml @@ -36,7 +36,7 @@ jobs: # As of Cypress v8.0 the `cypress run` command # executes tests in `headless` mode by default - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 with: name: screenshots-headless-chrome path: examples/browser/cypress/screenshots @@ -54,7 +54,7 @@ jobs: headed: true summary-title: 'Chrome headed' - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 with: name: screenshots-headed-chrome path: examples/browser/cypress/screenshots diff --git a/.github/workflows/example-firefox.yml b/.github/workflows/example-firefox.yml index 4fc620e60..8bd5a9f14 100644 --- a/.github/workflows/example-firefox.yml +++ b/.github/workflows/example-firefox.yml @@ -23,7 +23,7 @@ jobs: browser: firefox # report screenshot size and store the screenshots as test artifacts - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 with: name: screenshots-in-firefox path: examples/browser/cypress/screenshots diff --git a/README.md b/README.md index 9001e7dc7..0c2c7c412 100644 --- a/README.md +++ b/README.md @@ -636,14 +636,14 @@ jobs: - uses: actions/checkout@v6 - uses: cypress-io/github-action@v6 # after the test run completes store videos and any screenshots - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 # add the line below to store screenshots only on failures # if: failure() with: name: cypress-screenshots path: cypress/screenshots if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn` - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 with: name: cypress-videos path: cypress/videos @@ -1441,7 +1441,7 @@ jobs: runTests: false # only build app, don't test yet build: npm run build - name: Store build artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: app path: build @@ -1454,7 +1454,7 @@ jobs: steps: - uses: actions/checkout@v6 - name: Restore build artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: app path: build