File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 3232 uses : actions/setup-java@v1
3333 with :
3434 java-version : ${{ matrix.java }}
35+ - name : setup-cache
36+ 37+ with :
38+ path : |
39+ ~/.gradle/caches
40+ ~/.gradle/wrapper
41+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
42+ restore-keys : |
43+ ${{ runner.os }}-gradle-
3544 - name : build
3645 run : ./gradlew ${GRADLE_SWITCHES} build test
3746
4756 uses : actions/setup-java@v1
4857 with :
4958 java-version : " 11"
59+ - name : setup-cache
60+ 61+ with :
62+ path : |
63+ ~/.gradle/caches
64+ ~/.gradle/wrapper
65+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
66+ restore-keys : |
67+ ${{ runner.os }}-gradle-
5068 - name : publish-snapshots
5169 if : github.event_name == 'push'
5270 timeout-minutes : 30
Original file line number Diff line number Diff line change 2323 uses : actions/setup-java@v1
2424 with :
2525 java-version : " 11"
26+ - name : setup-cache
27+ 28+ with :
29+ path : |
30+ ~/.gradle/caches
31+ ~/.gradle/wrapper
32+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
33+ restore-keys : |
34+ ${{ runner.os }}-gradle-
2635
2736 - name : publish-candidate
2837 if : contains(github.ref, '-rc.')
You can’t perform that action at this time.
0 commit comments