Skip to content

Commit 634192f

Browse files
Update publish.yml
1 parent 656d197 commit 634192f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,4 @@ jobs:
4343
token=$(echo -n "${{ secrets.NEXUS_USERNAME }}:${{ secrets.NEXUS_PASSWORD }}" | base64)
4444
curl -X POST \
4545
-H "Authorization: Bearer $token" \
46-
-H "Content-Type: application/json" \
47-
-d '{"publishing_type": "automatic"}' \
48-
https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/com.pkware.filesystem
46+
"https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/com.pkware.filesystem?publishing_type=automatic"

0 commit comments

Comments
 (0)