Skip to content

Commit 656d197

Browse files
Update publish.yml
1 parent 0826520 commit 656d197

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ 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/x-www-form-urlencoded" \
47-
-d "publishing_type=automatic" \
46+
-H "Content-Type: application/json" \
47+
-d '{"publishing_type": "automatic"}' \
4848
https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/com.pkware.filesystem

0 commit comments

Comments
 (0)