File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3737 - name : Sonatype Publish
3838 run : |
3939 ./gradlew -S publishJarPublicationToStagingRepository
40- # BEARER=$(printf "${{ secrets.SUSER }}:${{ secrets.SPASSWORD }}" | base64)
41- # curl --request POST \
42- # --verbose \
43- # --header "Authorization: Bearer ${BEARER}" \
44- # https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/${{ secrets.SREPO_ID }}
40+ BEARER=$(printf "${{ secrets.SUSER }}:${{ secrets.SPASSWORD }}" | base64)
41+ curl --request POST \
42+ --verbose \
43+ --header "Authorization: Bearer ${BEARER}" \
44+ https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/${{ secrets.SREPO_ID }}
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ publishing {
158158 repositories {
159159 maven {
160160 name ' staging'
161- url = ' https://central.sonatype.com/api/v1/publisher/deployments/download /'
161+ url = ' https://ossrh-staging-api. central.sonatype.com/service/local/staging/deploy/maven2 /'
162162
163163 credentials {
164164 username = " ${ sonatypeUsername} "
You can’t perform that action at this time.
0 commit comments