Skip to content

Commit 592f0cc

Browse files
committed
ci: fix cache restore keys
1 parent cf4ac63 commit 592f0cc

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ jobs:
2727
with:
2828
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
2929
key: yarn-${{ hashFiles('**/yarn.lock', '.yarnrc.yml') }}
30-
restore-keys: |
31-
${{ runner.os }}-yarn-
30+
restore-keys: yarn-
3231

3332
- name: Install Dependencies
3433
run: yarn install --immutable
@@ -61,8 +60,8 @@ jobs:
6160
with:
6261
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
6362
key: yarn-${{ hashFiles('**/yarn.lock', '.yarnrc.yml') }}
64-
restore-keys: |
65-
${{ runner.os }}-yarn-
63+
restore-keys: yarn-
64+
6665
- name: Install Dependencies
6766
run: yarn install --immutable
6867

@@ -90,8 +89,8 @@ jobs:
9089
with:
9190
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
9291
key: yarn-${{ hashFiles('**/yarn.lock', '.yarnrc.yml') }}
93-
restore-keys: |
94-
${{ runner.os }}-yarn-
92+
restore-keys: yarn-
93+
9594
- name: Install Dependencies
9695
run: yarn install --immutable
9796

@@ -119,8 +118,8 @@ jobs:
119118
with:
120119
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
121120
key: yarn-${{ hashFiles('**/yarn.lock', '.yarnrc.yml') }}
122-
restore-keys: |
123-
${{ runner.os }}-yarn-
121+
restore-keys: yarn-
122+
124123
- name: Install Dependencies
125124
run: yarn install --immutable
126125

0 commit comments

Comments
 (0)