diff --git a/.github/actions/restore-cache/action.yml b/.github/actions/restore-cache/action.yml index 14fe63bcf69c..848983376840 100644 --- a/.github/actions/restore-cache/action.yml +++ b/.github/actions/restore-cache/action.yml @@ -6,13 +6,13 @@ runs: steps: - name: Check dependency cache id: dep-cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ${{ env.CACHED_DEPENDENCY_PATHS }} key: ${{ env.DEPENDENCY_CACHE_KEY }} - name: Check build cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 id: build-cache with: path: ${{ env.CACHED_BUILD_PATHS }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb8fb1b8f838..c9b5e42c30ad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -183,7 +183,7 @@ jobs: run: echo "hash=${{ hashFiles('yarn.lock', '**/package.json') }}" >> "$GITHUB_OUTPUT" - name: Check dependency cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: cache_dependencies with: path: ${{ env.CACHED_DEPENDENCY_PATHS }} @@ -227,21 +227,21 @@ jobs: with: node-version-file: 'package.json' - name: Check dependency cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ${{ env.CACHED_DEPENDENCY_PATHS }} key: ${{ needs.job_install_deps.outputs.dependency_cache_key }} fail-on-cache-miss: true - name: Check build cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: cache_built_packages with: path: ${{ env.CACHED_BUILD_PATHS }} key: ${{ env.BUILD_CACHE_KEY }} - name: NX cache - uses: actions/cache@v3 + uses: actions/cache@v4 # Disable cache when: # - on release branches # - when PR has `ci-skip-cache` label or on nightly builds @@ -340,7 +340,7 @@ jobs: with: node-version-file: 'package.json' - name: Check dependency cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ${{ env.CACHED_DEPENDENCY_PATHS }} key: ${{ needs.job_install_deps.outputs.dependency_cache_key }} @@ -548,7 +548,7 @@ jobs: - name: Get Playwright version id: playwright-version run: echo "version=$(node -p "require('@playwright/test/package.json').version")" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 name: Check if Playwright browser is cached id: playwright-cache with: @@ -642,7 +642,7 @@ jobs: - name: Get Playwright version id: playwright-version run: echo "version=$(node -p "require('@playwright/test/package.json').version")" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 name: Check if Playwright browser is cached id: playwright-cache with: @@ -698,7 +698,7 @@ jobs: - name: Get Playwright version id: playwright-version run: echo "version=$(node -p "require('@playwright/test/package.json').version")" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 name: Check if Playwright browser is cached id: playwright-cache with: @@ -909,7 +909,7 @@ jobs: env: DEPENDENCY_CACHE_KEY: ${{ needs.job_build.outputs.dependency_cache_key }} - name: NX cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: .nxcache key: nx-Linux-${{ github.ref }}-${{ env.HEAD_COMMIT }} @@ -918,7 +918,7 @@ jobs: - name: Build tarballs run: yarn build:tarball - name: Stores tarballs in cache - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 with: path: ${{ github.workspace }}/packages/*/*.tgz key: ${{ env.BUILD_CACHE_TARBALL_KEY }} @@ -1009,7 +1009,7 @@ jobs: DEPENDENCY_CACHE_KEY: ${{ needs.job_build.outputs.dependency_cache_key }} - name: Restore tarball cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ${{ github.workspace }}/packages/*/*.tgz key: ${{ env.BUILD_CACHE_TARBALL_KEY }} diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index 72dcd46d238d..9a856a7ce034 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -31,7 +31,7 @@ jobs: with: node-version-file: 'package.json' - name: Check canary cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ${{ github.workspace }}/packages/*/*.tgz @@ -100,7 +100,7 @@ jobs: node-version-file: 'package.json' - name: Restore canary cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: | ${{ github.workspace }}/packages/*/*.tgz diff --git a/.github/workflows/flaky-test-detector.yml b/.github/workflows/flaky-test-detector.yml index 6a68dc7278d1..d499c12d661b 100644 --- a/.github/workflows/flaky-test-detector.yml +++ b/.github/workflows/flaky-test-detector.yml @@ -40,7 +40,7 @@ jobs: run: yarn install --ignore-engines --frozen-lockfile - name: NX cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: .nxcache key: nx-Linux-${{ github.ref }}-${{ env.HEAD_COMMIT }} @@ -55,7 +55,7 @@ jobs: - name: Get Playwright version id: playwright-version run: echo "version=$(node -p "require('@playwright/test/package.json').version")" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 name: Check if Playwright browser is cached id: playwright-cache with: