@@ -31,56 +31,56 @@ runs:
31
31
uses : actions/cache@v2
32
32
with :
33
33
path : /home/runner/work/api-clients-automation/api-clients-automation/clients/algoliasearch-client-javascript/client-search/dist
34
- key : ${{ runner.os }}-1-js-client-search-${{ hashFiles('clients/algoliasearch-client-javascript/client-search/**') }}
34
+ key : ${{ runner.os }}-1-js-client-search-${{ hashFiles('clients/algoliasearch-client-javascript/client-search/**') }}-${{ hashFiles('specs/dist/search.yml') }}
35
35
36
36
- name : Restore built JavaScript recommend client
37
37
if : ${{ inputs.job == 'cts' }}
38
38
uses : actions/cache@v2
39
39
with :
40
40
path : /home/runner/work/api-clients-automation/api-clients-automation/clients/algoliasearch-client-javascript/recommend/dist
41
- key : ${{ runner.os }}-1-js-client-recommend-${{ hashFiles('clients/algoliasearch-client-javascript/recommend/**') }}
41
+ key : ${{ runner.os }}-1-js-client-recommend-${{ hashFiles('clients/algoliasearch-client-javascript/recommend/**') }}-${{ hashFiles('specs/dist/recommend.yml') }}
42
42
43
43
- name : Restore built JavaScript query-suggestions client
44
44
if : ${{ inputs.job == 'cts' }}
45
45
uses : actions/cache@v2
46
46
with :
47
47
path : /home/runner/work/api-clients-automation/api-clients-automation/clients/algoliasearch-client-javascript/client-query-suggestions/dist
48
- key : ${{ runner.os }}-1-js-client-query-suggestions-${{ hashFiles('clients/algoliasearch-client-javascript/client-query-suggestions/**') }}
48
+ key : ${{ runner.os }}-1-js-client-query-suggestions-${{ hashFiles('clients/algoliasearch-client-javascript/client-query-suggestions/**') }}-${{ hashFiles('specs/dist/query-suggestions.yml') }}
49
49
50
50
- name : Restore built JavaScript personalization client
51
51
if : ${{ inputs.job == 'cts' }}
52
52
uses : actions/cache@v2
53
53
with :
54
54
path : /home/runner/work/api-clients-automation/api-clients-automation/clients/algoliasearch-client-javascript/client-personalization/dist
55
- key : ${{ runner.os }}-1-js-client-personalization-${{ hashFiles('clients/algoliasearch-client-javascript/client-personalization/**') }}
55
+ key : ${{ runner.os }}-1-js-client-personalization-${{ hashFiles('clients/algoliasearch-client-javascript/client-personalization/**') }}-${{ hashFiles('specs/dist/personalization.yml') }}
56
56
57
57
- name : Restore built JavaScript analytics client
58
58
if : ${{ inputs.job == 'cts' }}
59
59
uses : actions/cache@v2
60
60
with :
61
61
path : /home/runner/work/api-clients-automation/api-clients-automation/clients/algoliasearch-client-javascript/client-analytics/dist
62
- key : ${{ runner.os }}-1-js-client-analytics-${{ hashFiles('clients/algoliasearch-client-javascript/client-analytics/**') }}
62
+ key : ${{ runner.os }}-1-js-client-analytics-${{ hashFiles('clients/algoliasearch-client-javascript/client-analytics/**') }}-${{ hashFiles('specs/dist/analytics.yml') }}
63
63
64
64
- name : Restore built JavaScript abtesting client
65
65
if : ${{ inputs.job == 'cts' }}
66
66
uses : actions/cache@v2
67
67
with :
68
68
path : /home/runner/work/api-clients-automation/api-clients-automation/clients/algoliasearch-client-javascript/client-abtesting/dist
69
- key : ${{ runner.os }}-1-js-client-abtesting-${{ hashFiles('clients/algoliasearch-client-javascript/client-abtesting/**') }}
69
+ key : ${{ runner.os }}-1-js-client-abtesting-${{ hashFiles('clients/algoliasearch-client-javascript/client-abtesting/**') }}-${{ hashFiles('specs/dist/abtesting.yml') }}
70
70
71
71
- name : Restore built JavaScript insights client
72
72
if : ${{ inputs.job == 'cts' }}
73
73
uses : actions/cache@v2
74
74
with :
75
75
path : /home/runner/work/api-clients-automation/api-clients-automation/clients/algoliasearch-client-javascript/client-insights/dist
76
- key : ${{ runner.os }}-1-js-client-insights-${{ hashFiles('clients/algoliasearch-client-javascript/client-insights/**') }}
76
+ key : ${{ runner.os }}-1-js-client-insights-${{ hashFiles('clients/algoliasearch-client-javascript/client-insights/**') }}-${{ hashFiles('specs/dist/insights.yml') }}
77
77
78
78
- name : Restore built Java client
79
79
if : ${{ inputs.job == 'cts' }}
80
80
uses : actions/cache@v2
81
81
with :
82
82
path : /home/runner/work/api-clients-automation/api-clients-automation/clients/algoliasearch-client-java-2/target
83
- key : ${{ runner.os }}-1-java-client-${{ hashFiles('clients/algoliasearch-client-java-2/**') }}
83
+ key : ${{ runner.os }}-1-java-client-${{ hashFiles('clients/algoliasearch-client-java-2/**') }}-${{ hashFiles('specs/dist/search.yml') }}
84
84
85
85
# setup yarn
86
86
- name : Get yarn cache directory path
0 commit comments