File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 7575 </settings>
7676 EOF
7777
78- - name : Verify Sonatype Credentials
79- run : |
80- echo "Verifying Sonatype credentials..."
81- echo "Username: ${{ secrets.OSSRH_USERNAME_TOKEN }}"
82- echo "Password length: ${#OSSRH_PASSWORD_TOKEN}"
83-
84- # Test connection to Sonatype
85- curl -v -u "${{ secrets.OSSRH_USERNAME_TOKEN }}:${{ secrets.OSSRH_PASSWORD_TOKEN }}" \
86- https://central.sonatype.com/api/internal/repository/status
87-
8878 - name : Build and Publish
8979 env :
9080 OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME_TOKEN }}
9888 -Dgpg.keyname=${{ secrets.GPG_KEYNAME }} \
9989 -Dgpg.useagent=true \
10090 -Dmaven.test.failure.ignore=false \
101- -DaltDeploymentRepository=ossrh::default::https://central.sonatype.com/api/internal/repository/maven-central/ \
91+ -DaltDeploymentRepository=ossrh::default::https://central.sonatype.com/api/v1/publisher/upload \
10292 -DrepositoryId=ossrh \
10393 -Dusername=${{ secrets.OSSRH_USERNAME_TOKEN }} \
10494 -Dpassword=${{ secrets.OSSRH_PASSWORD_TOKEN }} \
You can’t perform that action at this time.
0 commit comments