Skip to content

Commit 56b2d02

Browse files
committed
unique id
1 parent 94d4b36 commit 56b2d02

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/actions/setup/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ runs:
7171
- name: Get yarn js-client cache directory path
7272
if: ${{ inputs.language == 'javascript' }}
7373
shell: bash
74-
id: yarn-cache-dir
74+
id: yarn-cache-dir-client
7575
run: echo "::set-output name=dir::$(cd clients/algoliasearch-client-javascript && yarn config get cacheFolder)"
7676

7777
- name: Restore Yarn js-client
7878
if: ${{ inputs.language == 'javascript' }}
7979
uses: actions/cache@v3
8080
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' }}
8282
key: yarn-cache-client-${{ env.CACHE_VERSION }}-${{ hashFiles('clients/algoliasearch-client-javascript/yarn.lock') }}
8383

8484
- name: Cache js-client node modules

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,14 +245,14 @@ jobs:
245245
- name: Get yarn js test cache directory path
246246
if: ${{ matrix.client.language == 'javascript' }}
247247
shell: bash
248-
id: yarn-cache-dir
248+
id: yarn-cache-dir-tests
249249
run: echo "::set-output name=dir::$(cd tests/output/javascript && yarn config get cacheFolder)"
250250

251251
- name: Restore Yarn js tests
252252
if: ${{ matrix.client.language == 'javascript' }}
253253
uses: actions/cache@v3
254254
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' }}
256256
key: yarn-cache-tests-${{ env.CACHE_VERSION }}-${{ hashFiles('tests/output/javascript/yarn.lock') }}
257257

258258
- name: Cache js-client node modules

0 commit comments

Comments
 (0)