DEV: Upgrade actions/cache to v2 ()

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.
This commit is contained in:
Justin DiRose 2020-10-14 10:03:20 -05:00 committed by GitHub
parent 73d207a568
commit 5b2da4ab07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
.github/workflows

View File

@ -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 }}