@@ -68,18 +68,15 @@ jobs:
6868 node-version : ${{ matrix.node-version }}
6969 - name : Get yarn cache directory path
7070 id : yarn-cache-dir-path
71- run : echo "::set-output name=dir::$(yarn cache dir)"
72- - name : Restore lerna
71+ run : echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
72+ shell : bash
73+ - name : Restore yarn cache
7374 uses : actions/cache@v3
7475 with :
75- path : |
76- ${{ steps.yarn-cache-dir-path.outputs.dir }}
77- node_modules
78- rust/cubestore/node_modules
79- packages/*/node_modules
80- key : ${{ runner.os }}-workspace-main-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
76+ path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
77+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
8178 restore-keys : |
82- ${{ runner.os }}-workspace-main-${{ matrix.node-version }} -
79+ ${{ runner.os }}-yarn -
8380 - name : Set Yarn version
8481 run : yarn policies set-version v1.22.19
8582 - name : Yarn install
@@ -126,18 +123,15 @@ jobs:
126123 node-version : 16.x
127124 - name : Get yarn cache directory path
128125 id : yarn-cache-dir-path
129- run : echo "::set-output name=dir::$(yarn cache dir)"
130- - name : Restore lerna
126+ run : echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
127+ shell : bash
128+ - name : Restore yarn cache
131129 uses : actions/cache@v3
132130 with :
133- path : |
134- ${{ steps.yarn-cache-dir-path.outputs.dir }}
135- node_modules
136- rust/cubestore/node_modules
137- packages/*/node_modules
138- key : ${{ runner.os }}-workspace-main-16.x-${{ hashFiles('**/yarn.lock') }}
131+ path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
132+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
139133 restore-keys : |
140- ${{ runner.os }}-workspace-main-16.x -
134+ ${{ runner.os }}-yarn -
141135 - name : Set Yarn version
142136 run : yarn policies set-version v1.22.19
143137 - name : Yarn install
@@ -176,18 +170,15 @@ jobs:
176170 node-version : 16.x
177171 - name : Get yarn cache directory path
178172 id : yarn-cache-dir-path
179- run : echo "::set-output name=dir::$(yarn cache dir)"
180- - name : Restore lerna
173+ run : echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
174+ shell : bash
175+ - name : Restore yarn cache
181176 uses : actions/cache@v3
182177 with :
183- path : |
184- ${{ steps.yarn-cache-dir-path.outputs.dir }}
185- node_modules
186- rust/cubestore/node_modules
187- packages/*/node_modules
188- key : ${{ runner.os }}-workspace-main-16.x-${{ hashFiles('**/yarn.lock') }}
178+ path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
179+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
189180 restore-keys : |
190- ${{ runner.os }}-workspace-main-16.x -
181+ ${{ runner.os }}-yarn -
191182 - name : Set Yarn version
192183 run : yarn policies set-version v1.22.19
193184 - name : Yarn install
@@ -246,18 +237,15 @@ jobs:
246237 node-version : ${{ matrix.node-version }}
247238 - name : Get yarn cache directory path
248239 id : yarn-cache-dir-path
249- run : echo "::set-output name=dir::$(yarn cache dir)"
250- - name : Restore lerna
240+ run : echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
241+ shell : bash
242+ - name : Restore yarn cache
251243 uses : actions/cache@v3
252244 with :
253- path : |
254- ${{ steps.yarn-cache-dir-path.outputs.dir }}
255- node_modules
256- rust/cubestore/node_modules
257- packages/*/node_modules
258- key : ${{ runner.os }}-workspace-main-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
245+ path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
246+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
259247 restore-keys : |
260- ${{ runner.os }}-workspace-main-${{ matrix.node-version }} -
248+ ${{ runner.os }}-yarn -
261249 - name : Set Yarn version
262250 run : yarn policies set-version v1.22.19
263251 - name : Yarn install
@@ -327,18 +315,15 @@ jobs:
327315 node-version : ${{ matrix.node-version }}
328316 - name : Get yarn cache directory path
329317 id : yarn-cache-dir-path
330- run : echo "::set-output name=dir::$(yarn cache dir)"
331- - name : Restore lerna
318+ run : echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
319+ shell : bash
320+ - name : Restore yarn cache
332321 uses : actions/cache@v3
333322 with :
334- path : |
335- ${{ steps.yarn-cache-dir-path.outputs.dir }}
336- node_modules
337- rust/cubestore/node_modules
338- packages/*/node_modules
339- key : ${{ runner.os }}-workspace-main-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
323+ path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
324+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
340325 restore-keys : |
341- ${{ runner.os }}-workspace-main-${{ matrix.node-version }} -
326+ ${{ runner.os }}-yarn -
342327 - name : Set Yarn version
343328 run : yarn policies set-version v1.22.19
344329 - name : Yarn install
@@ -399,18 +384,15 @@ jobs:
399384 node-version : ${{ matrix.node-version }}
400385 - name : Get yarn cache directory path
401386 id : yarn-cache-dir-path
402- run : echo "::set-output name=dir::$(yarn cache dir)"
403- - name : Restore lerna
387+ run : echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
388+ shell : bash
389+ - name : Restore yarn cache
404390 uses : actions/cache@v3
405391 with :
406- path : |
407- ${{ steps.yarn-cache-dir-path.outputs.dir }}
408- node_modules
409- rust/node_modules
410- packages/*/node_modules
411- key : ${{ runner.os }}-workspace-main-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
392+ path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
393+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
412394 restore-keys : |
413- ${{ runner.os }}-workspace-main-${{ matrix.node-version }} -
395+ ${{ runner.os }}-yarn -
414396 - name : Set Yarn version
415397 run : yarn policies set-version v1.22.19
416398 - name : Yarn install
@@ -455,18 +437,15 @@ jobs:
455437 node-version : ${{ matrix.node-version }}
456438 - name : Get yarn cache directory path
457439 id : yarn-cache-dir-path
458- run : echo "::set-output name=dir::$(yarn cache dir)"
459- - name : Restore lerna
440+ run : echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
441+ shell : bash
442+ - name : Restore yarn cache
460443 uses : actions/cache@v3
461444 with :
462- path : |
463- ${{ steps.yarn-cache-dir-path.outputs.dir }}
464- node_modules
465- rust/node_modules
466- packages/*/node_modules
467- key : ${{ runner.os }}-workspace-main-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
445+ path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
446+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
468447 restore-keys : |
469- ${{ runner.os }}-workspace-main-${{ matrix.node-version }} -
448+ ${{ runner.os }}-yarn -
470449 - name : Set Yarn version
471450 run : yarn policies set-version v1.22.19
472451 - name : Yarn install
@@ -585,18 +564,15 @@ jobs:
585564 node-version : 16.x
586565 - name : Get yarn cache directory path
587566 id : yarn-cache-dir-path
588- run : echo "::set-output name=dir::$(yarn cache dir)"
589- - name : Restore lerna
567+ run : echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
568+ shell : bash
569+ - name : Restore yarn cache
590570 uses : actions/cache@v3
591571 with :
592- path : |
593- ${{ steps.yarn-cache-dir-path.outputs.dir }}
594- node_modules
595- rust/cubestore/node_modules
596- packages/*/node_modules
597- key : ${{ runner.os }}-workspace-main-16.x-${{ hashFiles('**/yarn.lock') }}
572+ path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
573+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
598574 restore-keys : |
599- ${{ runner.os }}-workspace-main-16.x -
575+ ${{ runner.os }}-yarn -
600576 - name : Set Yarn version
601577 run : yarn policies set-version v1.22.19
602578 - name : Yarn install
0 commit comments