File tree Expand file tree Collapse file tree 1 file changed +1
-30
lines changed
Expand file tree Collapse file tree 1 file changed +1
-30
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010
11- test :
12-
13- runs-on : ubuntu-latest
14-
15- steps :
16- - name : Checkout
17- uses : actions/checkout@v3
18-
19- - name : Set up JDK 17
20- uses : actions/setup-java@v3
21- with :
22- java-version : ' 17'
23- distribution : ' temurin'
24- cache : maven
25-
26- - name : Maven Tests
27- run : ./mvnw --batch-mode -Dmaven.test.failure.ignore=true test
28-
29- - name : Report
30- uses : dorny/test-reporter@v1.6.0
31- if : always()
32- with :
33- name : Maven Tests
34- path : target/surefire-reports/*.xml
35- reporter : java-junit
36- fail-on-error : true
37-
3811 publish :
3912
4013 runs-on : ubuntu-latest
4114
42- needs : [test]
43-
4415 permissions :
4516 contents : read
4617 packages : write
6334 run : mvn clean package -DskipTests
6435
6536 - name : Publish to the Maven Central Repository
66- run : mvn --no-transfer-progress clean deploy -Pdeploy
37+ run : mvn --no-transfer-progress deploy
6738
6839 env :
6940 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
You can’t perform that action at this time.
0 commit comments