Skip to content

Commit 77d83e8

Browse files
cursoragenteps1lon
andcommitted
Add comment explaining why restore-keys is not used
Aligns with the pattern used in other workflows (build_and_deploy.yml, create_release_branch.yml, trigger_release.yml) that explain restore-keys is avoided to prevent indefinite cache growth. Co-authored-by: sebastian.silbermann <sebastian.silbermann@vercel.com>
1 parent f9e7a11 commit 77d83e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build_reusable.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ jobs:
214214
with:
215215
path: ${{ steps.get-store-path.outputs.STORE_PATH }}
216216
key: pnpm-store-v2-${{ hashFiles('pnpm-lock.yaml') }}
217+
# Do not use restore-keys since it leads to indefinite growth of the cache.
217218

218219
# local action -> needs to run after checkout
219220
- name: Install Rust

0 commit comments

Comments
 (0)