File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 2626 java-version : ${{ matrix.java }}
2727 distribution : " temurin"
2828 cache : ' maven'
29- - name : " Get Maven dependencies from cache"
30- uses : actions/cache@v4
31- with :
32- path : ~/.m2/repository
33- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
34- restore-keys : ${{ runner.os }}-maven-
3529 - name : " Build with Maven"
3630 run : mvn --batch-mode verify
3731
@@ -48,15 +42,10 @@ jobs:
4842 with :
4943 java-version : 21
5044 distribution : " temurin"
45+ cache : ' maven'
5146 server-id : central
5247 server-username : MAVEN_USERNAME
5348 server-password : MAVEN_PASSWORD
54- - name : " Get Maven dependencies from cache"
55- uses : actions/cache@v4
56- with :
57- path : ~/.m2/repository
58- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
59- restore-keys : ${{ runner.os }}-maven-
6049 - name : " Build and deploy to the Maven Central Repository"
6150 run : mvn --batch-mode -DskipTests deploy
6251 env :
You can’t perform that action at this time.
0 commit comments