File tree Expand file tree Collapse file tree 2 files changed +28
-4
lines changed
Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Original file line number Diff line number Diff line change 2626 key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
2727 restore-keys : ${{ runner.os }}-maven-
2828
29- - name : Deploy SNAPSHOT to Sonatype
29+ - name : Deploy Release to Sonatype
3030 uses : samuelmeuli/action-maven-publish@v1
3131 with :
3232 gpg_private_key : ${{ secrets.JAVA_GPG_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 1818 <plugin >
1919 <groupId >org.apache.maven.plugins</groupId >
2020 <artifactId >maven-deploy-plugin</artifactId >
21- <configuration >
22- <skip >true</skip >
23- </configuration >
21+ <version >2.8.2</version >
22+ <executions >
23+ <execution >
24+ <id >default-deploy</id >
25+ <phase >deploy</phase >
26+ <configuration >
27+ <skip >true</skip >
28+ </configuration >
29+ </execution >
30+ </executions >
31+ </plugin >
32+ <plugin >
33+ <groupId >org.sonatype.plugins</groupId >
34+ <artifactId >nexus-staging-maven-plugin</artifactId >
35+ <executions >
36+ <execution >
37+ <id >default-deploy</id >
38+ <phase >deploy</phase >
39+ <goals >
40+ <goal >deploy</goal >
41+ </goals >
42+ <configuration >
43+ <serverId >ossrh</serverId >
44+ <skipNexusStagingDeployMojo >true</skipNexusStagingDeployMojo >
45+ </configuration >
46+ </execution >
47+ </executions >
2448 </plugin >
2549 <!-- compiler-plugin -->
2650 <plugin >
You can’t perform that action at this time.
0 commit comments