Skip to content

Commit 1c44ee0

Browse files
committed
ci: force use of a new cache on GitHub Actions
The current cache has corrupt data.
1 parent 604502f commit 1c44ee0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/cache@v2
2323
with:
2424
path: ${{steps.find-yarn-cache.outputs.dir}}
25-
key: ${{runner.os}}-node${{matrix.node-version}}-yarn-${{hashFiles('**/yarn.lock')}}
25+
key: v2-${{runner.os}}-node${{matrix.node-version}}-yarn-${{hashFiles('**/yarn.lock')}}
2626
restore-keys: ${{runner.os}}-node${{matrix.node-version}}-yarn-
2727
- name: Set up Node.js v${{matrix.node-version}}
2828
uses: actions/setup-node@v2
@@ -45,7 +45,7 @@ jobs:
4545
uses: actions/cache@v2
4646
with:
4747
path: ${{steps.find-yarn-cache.outputs.dir}}
48-
key: ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-${{hashFiles('**/yarn.lock')}}
48+
key: v2-${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-${{hashFiles('**/yarn.lock')}}
4949
restore-keys: ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-
5050
- name: Set up Node.js
5151
uses: actions/setup-node@v2

0 commit comments

Comments
 (0)