fix: added --fail flag to prevent non-success HTTP responses cause the step to fail
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -72,7 +72,7 @@ jobs:
|
||||
|
||||
- name: Create Deployment on Central Publisher Portal
|
||||
run: |
|
||||
curl -X 'POST' \
|
||||
curl --fail -X 'POST' \
|
||||
'https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/com.onixbyte?publishing_type=user_managed' \
|
||||
-H 'accept: */*' \
|
||||
-H 'Authorization: Bearer ${{ secrets.MAVEN_PORTAL_TOKEN }}' \
|
||||
|
||||
Reference in New Issue
Block a user