Skip to content

Commit 91bc394

Browse files
committed
fix cache key
1 parent 330f0bd commit 91bc394

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ jobs:
250250
if: ${{ matrix.client.language == 'javascript' }}
251251
uses: actions/cache@v3
252252
with:
253-
path: ${{ steps.yarn-cache-dir-tests.outputs.dir || '${{ matrix.client.testsRootFolder }}/.yarn/cache' }}
253+
path: ${{ steps.yarn-cache-dir-tests.outputs.dir || format('{0}/.yarn/cache', matrix.client.testsRootFolder) }}
254254
# let yarn handle the cache hash
255255
key: yarn-cache-tests-${{ env.CACHE_VERSION }}
256256

@@ -259,7 +259,7 @@ jobs:
259259
uses: actions/cache@v3
260260
with:
261261
path: ${{ matrix.client.testsRootFolder }}/node_modules
262-
key: node-modules-tests-${{ env.CACHE_VERSION }}-${{ hashFiles('${{ matrix.client.testsRootFolder }}/yarn.lock') }}
262+
key: node-modules-tests-${{ env.CACHE_VERSION }}-${{ hashFiles(format('{0}/.yarn.lock', matrix.client.testsRootFolder)) }}
263263

264264
- name: Run CTS
265265
run: yarn cli cts run ${{ matrix.client.language }}

0 commit comments

Comments
 (0)