File tree Expand file tree Collapse file tree 4 files changed +8
-15
lines changed
Expand file tree Collapse file tree 4 files changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -108,10 +108,8 @@ jobs:
108108 id : cache-pnpm-store
109109 with :
110110 path : ${{ steps.get-store-path.outputs.STORE_PATH }}
111- key : pnpm-store-${{ hashFiles('pnpm-lock.yaml') }}
112- restore-keys : |
113- pnpm-store-
114- pnpm-store-${{ hashFiles('pnpm-lock.yaml') }}
111+ key : pnpm-store-v2-${{ hashFiles('pnpm-lock.yaml') }}
112+ # Do not use restore-keys since it leads to indefinite growth of the cache.
115113
116114 - run : pnpm install
117115
Original file line number Diff line number Diff line change 6565 id : cache-pnpm-store
6666 with :
6767 path : ${{ steps.get-store-path.outputs.STORE_PATH }}
68- key : pnpm-store-${{ hashFiles('pnpm-lock.yaml') }}
69- restore-keys : |
70- pnpm-store-
71- pnpm-store-${{ hashFiles('pnpm-lock.yaml') }}
68+ key : pnpm-store-v2-${{ hashFiles('pnpm-lock.yaml') }}
69+ # Do not use restore-keys since it leads to indefinite growth of the cache.
7270
7371 - run : pnpm install
7472
Original file line number Diff line number Diff line change 7979 uses : actions/cache@v3
8080 with :
8181 path : ~/.pnpm-store
82- key : ${{ runner.os }}-${{ runner.arch }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
83- restore-keys : |
84- ${{ runner.os }}-${{ runner.arch }}-pnpm-
82+ key : ${{ runner.os }}-${{ runner.arch }}-pnpm-v2-${{ hashFiles('**/pnpm-lock.yaml') }}
83+ # Do not use restore-keys since it leads to indefinite growth of the cache.
8584
8685 - name : Install dependencies
8786 run : pnpm install
Original file line number Diff line number Diff line change 9797 id : cache-pnpm-store
9898 with :
9999 path : ${{ steps.get-store-path.outputs.STORE_PATH }}
100- key : pnpm-store-${{ hashFiles('pnpm-lock.yaml') }}
101- restore-keys : |
102- pnpm-store-
103- pnpm-store-${{ hashFiles('pnpm-lock.yaml') }}
100+ key : pnpm-store-v2-${{ hashFiles('pnpm-lock.yaml') }}
101+ # Do not use restore-keys since it leads to indefinite growth of the cache.
104102
105103 - run : pnpm install
106104
You can’t perform that action at this time.
0 commit comments