Skip to content

Commit 0826520

Browse files
Update publish.yml
1 parent a9585d0 commit 0826520

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,6 @@ jobs:
4343
token=$(echo -n "${{ secrets.NEXUS_USERNAME }}:${{ secrets.NEXUS_PASSWORD }}" | base64)
4444
curl -X POST \
4545
-H "Authorization: Bearer $token" \
46-
-F "publishing_type=automatic" \
46+
-H "Content-Type: application/x-www-form-urlencoded" \
47+
-d "publishing_type=automatic" \
4748
https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/com.pkware.filesystem

0 commit comments

Comments
 (0)