File tree Expand file tree Collapse file tree 1 file changed +3
-18
lines changed Expand file tree Collapse file tree 1 file changed +3
-18
lines changed Original file line number Diff line number Diff line change 3232 with :
3333 distribution : ' adopt'
3434 java-version : ${{ matrix.java }}
35- - name : Cache Gradle packages
36- uses : actions/cache@v2.1.6
37- with :
38- path : ~/.gradle/caches
39- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
40- restore-keys : ${{ runner.os }}-gradle
35+ cache : ' gradle'
4136 - name : print Java version
4237 run : java -version
4338 - name : Set JVM options for JDK 16
7065 with :
7166 distribution : ' adopt'
7267 java-version : ${{ matrix.java }}
73- - name : Cache Gradle packages
74- uses : actions/cache@v2.1.6
75- with :
76- path : ~/.gradle/caches
77- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
78- restore-keys : ${{ runner.os }}-gradle
68+ cache : ' gradle'
7969 - name : print Java version
8070 run : java -version
8171 - name : Set JVM options for JDK 16
@@ -114,12 +104,7 @@ jobs:
114104 with :
115105 distribution : ' adopt'
116106 java-version : 11
117- - name : Cache Gradle packages
118- uses : actions/cache@v2.1.6
119- with :
120- path : ~/.gradle/caches
121- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
122- restore-keys : ${{ runner.os }}-gradle
107+ cache : ' gradle'
123108 - name : Set git config
124109 run : |
125110 git config user.name github-actions
You can’t perform that action at this time.
0 commit comments