@@ -112,7 +112,7 @@ jobs:
112
112
uses : actions/cache@v2
113
113
with :
114
114
path : /home/runner/work/api-clients-automation/api-clients-automation/clients/algoliasearch-client-javascript/client-search/dist
115
- key : ${{ runner.os }}-js-client-search-${{ hashFiles('yarn.lock') }}
115
+ key : ${{ runner.os }}-js-client-search-${{ find -s clients/algoliasearch-client-javascript/client-search/dist -type f -exec sha1sum {} \; | sha1sum }}
116
116
117
117
client_javascript_recommend :
118
118
runs-on : ubuntu-20.04
@@ -134,7 +134,7 @@ jobs:
134
134
uses : actions/cache@v2
135
135
with :
136
136
path : /home/runner/work/api-clients-automation/api-clients-automation/clients/algoliasearch-client-javascript/recommend/dist
137
- key : ${{ runner.os }}-js-client-recommend-${{ hashFiles('yarn.lock') }}
137
+ key : ${{ runner.os }}-js-client-recommend-${{ find -s clients/algoliasearch-client-javascript/recommend/dist -type f -exec sha1sum {} \; | sha1sum }}
138
138
139
139
client_javascript_perso :
140
140
runs-on : ubuntu-20.04
@@ -156,7 +156,7 @@ jobs:
156
156
uses : actions/cache@v2
157
157
with :
158
158
path : /home/runner/work/api-clients-automation/api-clients-automation/clients/algoliasearch-client-javascript/client-personalization/dist
159
- key : ${{ runner.os }}-js-client-personalization-${{ hashFiles('yarn.lock') }}
159
+ key : ${{ runner.os }}-js-client-personalization-${{ find -s clients/algoliasearch-client-javascript/client-personalization/dist -type f -exec sha1sum {} \; | sha1sum }}
160
160
161
161
client_javascript_analytics :
162
162
runs-on : ubuntu-20.04
@@ -178,7 +178,7 @@ jobs:
178
178
uses : actions/cache@v2
179
179
with :
180
180
path : /home/runner/work/api-clients-automation/api-clients-automation/clients/algoliasearch-client-javascript/client-analytics/dist
181
- key : ${{ runner.os }}-js-client-analytics-${{ hashFiles('yarn.lock') }}
181
+ key : ${{ runner.os }}-js-client-analytics-${{ find -s clients/algoliasearch-client-javascript/client-analytics/dist -type f -exec sha1sum {} \; | sha1sum }}
182
182
183
183
client_java_search :
184
184
runs-on : ubuntu-20.04
@@ -202,7 +202,7 @@ jobs:
202
202
uses : actions/cache@v2
203
203
with :
204
204
path : /home/runner/work/api-clients-automation/api-clients-automation/clients/algoliasearch-client-java-2/target
205
- key : ${{ runner.os }}-java-client-${{ hashFiles('**/pom.xml') }}
205
+ key : ${{ runner.os }}-java-client-${{ find -s clients/algoliasearch-client-javascript/algoliasearch-client-java-2/target -type f -exec sha1sum {} \; | sha1sum }}
206
206
207
207
cts :
208
208
runs-on : ubuntu-20.04
0 commit comments