File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -52,18 +52,12 @@ jobs:
5252 access_token : ${{ github.token }}
5353 - name : ' Check out repository'
5454 uses : actions/checkout@v2
55- - name : ' Cache local Maven repository'
56- uses : actions/cache@v2
57- with :
58- path : ~/.m2/repository
59- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
60- restore-keys : |
61- ${{ runner.os }}-maven-
6255 - name : ' Set up JDK ${{ matrix.java }}'
6356 uses : actions/setup-java@v2
6457 with :
6558 java-version : ${{ matrix.java }}
6659 distribution : ' zulu'
60+ cache : ' maven'
6761 - name : ' Install'
6862 shell : bash
6963 run : mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
@@ -79,18 +73,12 @@ jobs:
7973 steps :
8074 - name : ' Check out repository'
8175 uses : actions/checkout@v2
82- - name : ' Cache local Maven repository'
83- uses : actions/cache@v2
84- with :
85- path : ~/.m2/repository
86- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
87- restore-keys : |
88- ${{ runner.os }}-maven-
8976 - name : ' Set up JDK 15'
9077 uses : actions/setup-java@v2
9178 with :
9279 java-version : 15
9380 distribution : ' zulu'
81+ cache : ' maven'
9482 server-id : sonatype-nexus-snapshots
9583 server-username : CI_DEPLOY_USERNAME
9684 server-password : CI_DEPLOY_PASSWORD
You can’t perform that action at this time.
0 commit comments