File tree Expand file tree Collapse file tree 4 files changed +40
-1
lines changed Expand file tree Collapse file tree 4 files changed +40
-1
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,22 @@ jobs:
12
12
steps :
13
13
- uses : actions/checkout@v2
14
14
15
- - name : Set up JDKd
15
+ - name : Set up JDK
16
16
uses : actions/setup-java@v2
17
17
with :
18
18
distribution : ' zulu'
19
19
java-version : ' 11'
20
20
21
+ - name : Cache gradle, wrapper and buildSrc
22
+ uses : actions/cache@v2
23
+ with :
24
+ path : |
25
+ ~/.gradle/caches
26
+ ~/.gradle/wrapper
27
+ key : ${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}
28
+ restore-keys : |
29
+ ${{ runner.os }}-${{ github.job }}-
30
+
21
31
- name : Make gradlew executable
22
32
run : chmod +x ./gradlew
23
33
Original file line number Diff line number Diff line change 21
21
distribution : ' zulu'
22
22
java-version : ' 11'
23
23
24
+ - name : Cache gradle, wrapper and buildSrc
25
+ uses : actions/cache@v2
26
+ with :
27
+ path : |
28
+ ~/.gradle/caches
29
+ ~/.gradle/wrapper
30
+ key : ${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}
31
+ restore-keys : |
32
+ ${{ runner.os }}-${{ github.job }}-
33
+
24
34
- name : Make gradlew executable
25
35
run : chmod +x ./gradlew
26
36
Original file line number Diff line number Diff line change 15
15
with :
16
16
distribution : ' zulu'
17
17
java-version : ' 11'
18
+ - name : Cache gradle, wrapper and buildSrc
19
+ uses : actions/cache@v2
20
+ with :
21
+ path : |
22
+ ~/.gradle/caches
23
+ ~/.gradle/wrapper
24
+ key : ${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}
25
+ restore-keys : |
26
+ ${{ runner.os }}-${{ github.job }}-
18
27
- name : Make gradlew executable
19
28
run : chmod +x ./gradlew
20
29
- run : ./gradlew spotlessKotlinApply
Original file line number Diff line number Diff line change 18
18
distribution : ' zulu'
19
19
java-version : ' 11'
20
20
21
+ - name : Cache gradle, wrapper and buildSrc
22
+ uses : actions/cache@v2
23
+ with :
24
+ path : |
25
+ ~/.gradle/caches
26
+ ~/.gradle/wrapper
27
+ key : ${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}
28
+ restore-keys : |
29
+ ${{ runner.os }}-${{ github.job }}-
30
+
21
31
- name : Make gradlew executable
22
32
run : chmod +x ./gradlew
23
33
You can’t perform that action at this time.
0 commit comments