File tree 1 file changed +8
-11
lines changed
1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,17 @@ runs:
25
25
with :
26
26
distribution : zulu
27
27
java-version-file : config/.java-version
28
- cache : gradle
29
28
30
29
- name : Validate gradle wrapper
31
30
if : inputs.type != 'minimal'
32
31
uses : gradle/wrapper-validation-action@v1
33
32
33
+ - name : Setup gradle
34
+ if : inputs.type != 'minimal'
35
+ uses : gradle/actions/setup-gradle@v3
36
+ with :
37
+ cache-read-only : false
38
+
34
39
- name : Download Java formatter
35
40
if : inputs.type != 'minimal'
36
41
shell : bash
55
60
# let yarn handle the cache hash
56
61
key : yarn-cache-${{ env.CACHE_VERSION }}
57
62
58
- - name : Cache node modules
59
- uses : actions/cache@v4
60
- with :
61
- path : node_modules
62
- key : node-modules-${{ env.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
63
-
64
63
- name : Install JavaScript dependencies
65
64
shell : bash
66
65
run : YARN_ENABLE_HARDENED_MODE=0 yarn install
@@ -152,10 +151,8 @@ runs:
152
151
if : ${{ inputs.language == 'kotlin' }}
153
152
uses : actions/cache@v4
154
153
with :
155
- path : |
156
- clients/algoliasearch-client-kotlin/.gradle
157
- clients/algoliasearch-client-kotlin/client/build/spotless
158
- key : gradle-${{ env.CACHE_VERSION }}-${{ hashFiles('clients/algoliasearch-client-kotlin/build.gradle.kts') }}
154
+ path : clients/algoliasearch-client-kotlin/client/build/spotless
155
+ key : spotless-${{ env.CACHE_VERSION }}-${{ hashFiles('clients/algoliasearch-client-kotlin/build.gradle.kts') }}
159
156
160
157
# Dart
161
158
- name : Install dart
You can’t perform that action at this time.
0 commit comments