From 5b2da4ab07f48351c1057dee2d815c7aed068b7c Mon Sep 17 00:00:00 2001 From: Justin DiRose Date: Wed, 14 Oct 2020 10:03:20 -0500 Subject: [PATCH] DEV: Upgrade actions/cache to v2 (#10920) https://github.com/actions/cache/issues/381#issuecomment-662597653 v1 has issues with slow cache restoration. Tested with v2 in a branch on a plugin and it seemed to fire up quite a bit faster after the cache initiation. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a16d2ecf762..3eb5f267b77 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,7 +94,7 @@ jobs: bundle config path vendor/bundle - name: Bundler cache - uses: actions/cache@v1 + uses: actions/cache@v2 id: bundler-cache with: path: vendor/bundle @@ -110,7 +110,7 @@ jobs: run: echo "::set-output name=dir::$(yarn cache dir)" - name: Yarn cache - uses: actions/cache@v1 + uses: actions/cache@v2 id: yarn-cache with: path: ${{ steps.yarn-cache-dir.outputs.dir }}