File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,16 +34,16 @@ jobs:
3434 java-version : 8
3535 distribution : ' zulu'
3636 server-id : ossrh
37- server-username : OSSRH_USERNAME
38- server-password : OSSRH_PASSWORD
37+ server-username : MAVEN_USERNAME
38+ server-password : MAVEN_PASSWORD
3939 gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
4040 gpg-passphrase : MAVEN_GPG_PASSPHRASE
4141
4242 - name : Publish to Apache Maven Central
4343 run : cd java && mvn deploy -Dgpg.passphrase=${{ secrets.MAVEN_GPG_PASSPHRASE }}
4444 env :
45- OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
46- OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
45+ MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
46+ MAVEN_PASSWORD : ${{ secrets.MAVEN_PASSWORD }}
4747 MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
4848
4949 update-pycromanger :
Original file line number Diff line number Diff line change 2424 os : [
2525# ubuntu-lastest,
2626 windows-latest,
27- macos-11
27+ macos-13
2828 ]
2929 steps :
3030 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change 104104 </execution >
105105 </executions >
106106 </plugin >
107- <plugin >
108- <groupId >org.sonatype.plugins</groupId >
109- <artifactId >nexus-staging-maven-plugin</artifactId >
110- <version >1.6.13</version >
111- <extensions >true</extensions >
112- <configuration >
113- <serverId >ossrh</serverId >
114- <nexusUrl >https://s01.oss.sonatype.org/</nexusUrl >
115- <autoReleaseAfterClose >true</autoReleaseAfterClose >
116- </configuration >
107+ <plugin >
108+ <groupId >org.sonatype.central</groupId >
109+ <artifactId >central-publishing-maven-plugin</artifactId >
110+ <version >0.8.0</version >
111+ <extensions >true</extensions >
112+ <configuration >
113+ <publishingServerId >central</publishingServerId >
114+ <autoPublish >true</autoPublish >
115+ <waitUntil >published</waitUntil >
116+ <waitMaxTime >7200</waitMaxTime >
117+ </configuration >
117118 </plugin >
119+
118120 </plugins >
119121 </build >
120122
You can’t perform that action at this time.
0 commit comments