File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ jobs:
259259
260260 - name : release android aar to maven central
261261 if : steps.tag.outputs.version != ''
262- run : cd packages/android && ./gradlew publishReleasePublicationToOSSRHRepository -PVERSION=${{ steps.tag.outputs.version }}
262+ run : cd packages/android && ./gradlew publishReleasePublicationToCentralRepository -PVERSION=${{ steps.tag.outputs.version }}
263263 env :
264264 MAVEN_CENTRAL_USERNAME : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
265265 MAVEN_CENTRAL_TOKEN : ${{ secrets.MAVEN_CENTRAL_TOKEN }}
Original file line number Diff line number Diff line change @@ -91,10 +91,8 @@ afterEvaluate {
9191
9292 repositories {
9393 maven {
94- name = " OSSRH"
95- url = project. hasProperty(' VERSION' ) ?
96- " https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/" :
97- " https://s01.oss.sonatype.org/content/repositories/snapshots/"
94+ name = " Central"
95+ url = " https://central.sonatype.com/api/v1/publisher/upload"
9896 credentials {
9997 username = project. findProperty(" MAVEN_CENTRAL_USERNAME" ) ?: " "
10098 password = project. findProperty(" MAVEN_CENTRAL_TOKEN" ) ?: " "
You can’t perform that action at this time.
0 commit comments