File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88 strategy :
99 matrix :
10- java : [ '1. 8', '11' ]
10+ java : [ '8', '11' ]
1111
1212 name : build java ${{ matrix.java }}
1313 steps :
14- - uses : actions/checkout@v1
15- - name : Set up java
16- uses : actions/setup-java@v1
14+ - uses : actions/checkout@v3
15+ - uses : actions/setup-java@v3.6.0
1716 with :
17+ distribution : temurin
1818 java-version : ${{ matrix.java }}
19+ cache : " maven"
1920 - name : Build with Maven
20- run : mvn -B package --no-transfer-progress --file pom.xml
21+ run : mvn -B clean verify --no-transfer-progress --show-version
2122
2223 makeversion :
2324 if : github.ref != 'refs/heads/main'
4445 name : Deploy snapshot
4546 steps :
4647 - uses : actions/checkout@v1
47- - uses : digipost/action-maven-publish@1.1 .0
48+ - uses : digipost/action-maven-publish@1.3 .0
4849 with :
4950 sonatype_secrets : ${{ secrets.sonatype_secrets }}
5051 release_version : ${{ needs.makeversion.outputs.version }}
5960 - name : Check out Git repository
6061 uses : actions/checkout@v1
6162 - name : Release to Central Repository
62- uses : digipost/action-maven-publish@1.1 .0
63+ uses : digipost/action-maven-publish@1.3 .0
6364 with :
6465 sonatype_secrets : ${{ secrets.sonatype_secrets }}
6566 release_version : ${{ needs.makeversion.outputs.version }}
You can’t perform that action at this time.
0 commit comments