We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2eccce commit 065cc4fCopy full SHA for 065cc4f
1 file changed
.github/workflows/publishing2sonatype.yml
@@ -33,6 +33,11 @@ jobs:
33
run: |
34
sed -i -e 's|.*sonatypeUsername.*| username = "${{ secrets.SUSER }}"|' ./build.gradle
35
sed -i -e 's|.*sonatypePassword.*| password = "${{ secrets.SPASSWORD }}"|' ./build.gradle
36
- - name: Publish to Sonatype
+ - name: Sonatype Publish
37
38
- ./gradlew publishJarPublicationToStagingRepository
+ ./gradlew publishJarPublicationToStagingRepository
39
+ BEARER=$(printf "${secrets.SUSER}:${secrets.SPASSWORD}" | base64)
40
+ curl --request POST \
41
+ --verbose \
42
+ --header "Authorization: Bearer ${BEARER}" \
43
+ https://central.sonatype.com/manual/upload/defaultRepository/${secrets.SREPO_ID}
0 commit comments