File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -71,14 +71,14 @@ runs:
71
71
- name : Get yarn js-client cache directory path
72
72
if : ${{ inputs.language == 'javascript' }}
73
73
shell : bash
74
- id : yarn-cache-dir
74
+ id : yarn-cache-dir-client
75
75
run : echo "::set-output name=dir::$(cd clients/algoliasearch-client-javascript && yarn config get cacheFolder)"
76
76
77
77
- name : Restore Yarn js-client
78
78
if : ${{ inputs.language == 'javascript' }}
79
79
uses : actions/cache@v3
80
80
with :
81
- path : ${{ steps.yarn-cache-dir.outputs.dir || 'clients/algoliasearch-client-javascript/.yarn/cache' }}
81
+ path : ${{ steps.yarn-cache-dir-client .outputs.dir || 'clients/algoliasearch-client-javascript/.yarn/cache' }}
82
82
key : yarn-cache-client-${{ env.CACHE_VERSION }}-${{ hashFiles('clients/algoliasearch-client-javascript/yarn.lock') }}
83
83
84
84
- name : Cache js-client node modules
Original file line number Diff line number Diff line change @@ -245,14 +245,14 @@ jobs:
245
245
- name : Get yarn js test cache directory path
246
246
if : ${{ matrix.client.language == 'javascript' }}
247
247
shell : bash
248
- id : yarn-cache-dir
248
+ id : yarn-cache-dir-tests
249
249
run : echo "::set-output name=dir::$(cd tests/output/javascript && yarn config get cacheFolder)"
250
250
251
251
- name : Restore Yarn js tests
252
252
if : ${{ matrix.client.language == 'javascript' }}
253
253
uses : actions/cache@v3
254
254
with :
255
- path : ${{ steps.yarn-cache-dir.outputs.dir || 'tests/output/javascript/.yarn/cache' }}
255
+ path : ${{ steps.yarn-cache-dir-tests .outputs.dir || 'tests/output/javascript/.yarn/cache' }}
256
256
key : yarn-cache-tests-${{ env.CACHE_VERSION }}-${{ hashFiles('tests/output/javascript/yarn.lock') }}
257
257
258
258
- name : Cache js-client node modules
You can’t perform that action at this time.
0 commit comments