File tree Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change 2424 uses : actions/setup-java@v2
2525 with :
2626 java-version : 8
27- distribution : ' zulu'
27+ distribution : ' adopt'
28+ cache : maven
2829 - name : Set artifact version
2930 run : script/version_snapshot.sh
3031 shell : bash
6364 with :
6465 java-version : ${{ matrix.jdk }}
6566 distribution : ${{ matrix.distribution }}
66- - name : Cache Maven dependencies
67- timeout-minutes : 10
68- uses : actions/cache@v1
69- with :
70- path : ~/.m2
71- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
72- restore-keys : ${{ runner.os }}-m2
67+ cache : maven
7368 - name : Set artifact version
7469 run : script/version_snapshot.sh
7570 shell : bash
@@ -99,17 +94,11 @@ jobs:
9994 uses : actions/setup-java@v2
10095 with :
10196 java-version : 11
102- distribution : ' zulu'
97+ distribution : ' adopt'
98+ cache : maven
10399 - name : Set artifact version
104100 run : script/version_snapshot.sh
105101 shell : bash
106- - name : Cache Maven dependencies
107- timeout-minutes : 10
108- uses : actions/cache@v1
109- with :
110- path : ~/.m2
111- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
112- restore-keys : ${{ runner.os }}-m2
113102 - name : SonarCloud scan of ${{ github.ref }}
114103 run : >
115104 mvn -P jacoco -B
You can’t perform that action at this time.
0 commit comments