16
16
steps :
17
17
- name : Checkout repository
18
18
uses : actions/checkout@v3
19
+ with :
20
+ fetch-depth : ' 0'
19
21
20
22
- name : Set up JDK 17
21
23
uses : actions/setup-java@v3
27
29
run : chmod +x ./gradlew
28
30
29
31
- name : Cache between builds
30
- uses : actions/cache@v2
32
+ uses : actions/cache@v3
31
33
with :
32
34
path : |
33
35
~/.gradle/caches
46
48
47
49
steps :
48
50
- name : Checkout repository
49
- uses : actions/checkout@v2
51
+ uses : actions/checkout@v3
52
+ with :
53
+ fetch-depth : ' 0'
50
54
51
55
- name : Set up JDK 17
52
56
uses : actions/setup-java@v3
58
62
run : chmod +x ./gradlew
59
63
60
64
- name : Cache between builds
61
- uses : actions/cache@v2
65
+ uses : actions/cache@v3
62
66
with :
63
67
path : |
64
68
~/.gradle/caches
83
87
84
88
steps :
85
89
- name : Checkout repository
86
- uses : actions/checkout@v2
90
+ uses : actions/checkout@v3
91
+ with :
92
+ fetch-depth : ' 0'
87
93
88
94
- name : Set up JDK 17
89
95
uses : actions/setup-java@v3
92
98
java-version : 17
93
99
94
100
- name : Cache between builds
95
- uses : actions/cache@v2
101
+ uses : actions/cache@v3
96
102
with :
97
103
path : |
98
104
~/.gradle/caches
@@ -121,7 +127,9 @@ jobs:
121
127
122
128
steps :
123
129
- name : Checkout repository
124
- uses : actions/checkout@v2
130
+ uses : actions/checkout@v3
131
+ with :
132
+ fetch-depth : ' 0'
125
133
126
134
- name : Set up JDK 17
127
135
uses : actions/setup-java@v3
@@ -130,7 +138,7 @@ jobs:
130
138
java-version : 17
131
139
132
140
- name : Cache between builds
133
- uses : actions/cache@v2
141
+ uses : actions/cache@v3
134
142
with :
135
143
path : |
136
144
~/.gradle/caches
@@ -187,7 +195,9 @@ jobs:
187
195
188
196
steps :
189
197
- name : Checkout
190
- uses : actions/checkout@v2
198
+ uses : actions/checkout@v3
199
+ with :
200
+ fetch-depth : ' 0'
191
201
192
202
- name : Set up JDK 17
193
203
uses : actions/setup-java@v3
@@ -196,7 +206,7 @@ jobs:
196
206
java-version : 17
197
207
198
208
- name : Cache between builds
199
- uses : actions/cache@v2
209
+ uses : actions/cache@v3
200
210
with :
201
211
path : |
202
212
~/.gradle/caches
@@ -206,7 +216,7 @@ jobs:
206
216
${{ runner.os }}-gradle-
207
217
208
218
- name : AVD cache
209
- uses : actions/cache@v2
219
+ uses : actions/cache@v3
210
220
id : avd-cache
211
221
with :
212
222
path : |
@@ -253,7 +263,9 @@ jobs:
253
263
254
264
steps :
255
265
- name : Checkout repository
256
- uses : actions/checkout@v2
266
+ uses : actions/checkout@v3
267
+ with :
268
+ fetch-depth : ' 0'
257
269
258
270
- name : Set up JDK 17
259
271
uses : actions/setup-java@v3
@@ -262,7 +274,7 @@ jobs:
262
274
java-version : 17
263
275
264
276
- name : Cache between builds
265
- uses : actions/cache@v2
277
+ uses : actions/cache@v3
266
278
with :
267
279
path : |
268
280
~/.gradle/caches
0 commit comments