File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 33 push :
44 branches : [ master ]
55
6- workflow_dispatch :
7- inputs :
8- releaseversion :
9- description : ' Release version'
10- required : true
11- default : ' 11.2.0'
126jobs :
137 build :
148
@@ -34,13 +28,14 @@ jobs:
3428 uses : actions/setup-java@v1
3529 with : # running setup-java again overwrites the settings.xml
3630 java-version : 1.8
37- server-id : maven # Value of the distributionManagement/repository/id field of the pom.xml
31+ distribution : ' adopt'
32+ server-id : ossrh
3833 server-username : MAVEN_USERNAME # env variable for username in deploy
3934 server-password : MAVEN_CENTRAL_TOKEN # env variable for token in deploy
4035
4136
4237 - name : Publish to Apache Maven Central
43- run : mvn deploy --file LoginRadius-JavaSDK/pom.xml
38+ run : mvn --batch-mode deploy --file LoginRadius-JavaSDK/pom.xml
4439 env :
4540 MAVEN_USERNAME : ${{secrets.MAVEN_USERNAME}}
4641 MAVEN_CENTRAL_TOKEN : ${{secrets.MAVEN_PASSWORD}}
You can’t perform that action at this time.
0 commit comments