File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,11 @@ jobs:
259259
260260 - name : release android aar to maven central
261261 if : steps.tag.outputs.version != ''
262- run : cd packages/android && ./gradlew publishReleasePublicationToCentralRepository -PVERSION=${{ steps.tag.outputs.version }}
262+ run : |
263+ echo "Maven Central Username length: ${#MAVEN_CENTRAL_USERNAME}"
264+ echo "Maven Central Token length: ${#MAVEN_CENTRAL_TOKEN}"
265+ echo "Signing key length: ${#SIGNING_KEY}"
266+ cd packages/android && ./gradlew publishReleasePublicationToOSSRHRepository -PVERSION=${{ steps.tag.outputs.version }}
263267 env :
264268 MAVEN_CENTRAL_USERNAME : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
265269 MAVEN_CENTRAL_TOKEN : ${{ secrets.MAVEN_CENTRAL_TOKEN }}
Original file line number Diff line number Diff line change @@ -91,8 +91,8 @@ afterEvaluate {
9191
9292 repositories {
9393 maven {
94- name = " Central "
95- url = " https://central. sonatype.com/api/v1/publisher/upload "
94+ name = " OSSRH "
95+ url = " https://s01.oss. sonatype.org/service/local/staging/deploy/maven2/ "
9696 credentials {
9797 username = project. findProperty(" MAVEN_CENTRAL_USERNAME" ) ?: " "
9898 password = project. findProperty(" MAVEN_CENTRAL_TOKEN" ) ?: " "
You can’t perform that action at this time.
0 commit comments