We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e263e5 commit f5c47e2Copy full SHA for f5c47e2
.github/workflows/release-publish-ossrh.yml
@@ -103,13 +103,11 @@ jobs:
103
104
# Publish to Central Portal
105
- name: Publish to Central Portal
106
- env:
107
- CENTRAL_TOKEN: ${{ secrets.CENTRAL_PORTAL_TOKEN }}
108
run: |
109
RESPONSE=$(curl --request POST \
110
--verbose \
111
- --header 'Authorization: Bearer ${{ secrets.CENTRAL_PORTAL_TOKEN }}' \
112
- --form bundle=@build/deployment-bundle.zip \
+ --user '${{ env.CENTRAL_USERNAME }}:${{ env.CENTRAL_PASSWORD }}' \
+ --form bundle=@library/build/deployment-bundle.zip \
113
https://central.sonatype.com/api/v1/publisher/upload?publishingType=AUTOMATIC)
114
115
echo "Response from Central Portal:"
0 commit comments