Skip to content

Commit

Permalink
fail if curl does not work
Browse files Browse the repository at this point in the history
  • Loading branch information
doxthree committed Mar 14, 2024
1 parent ff968f0 commit 0724253
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci-java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,9 @@ jobs:
working-directory: java/build/repos/releases
run: |
zip -r package.zip .
curl --request POST \
--header 'Authorization: Bearer $MAVEN_CENTRAL_BEARER_TOKEN' \
curl --fail-with-body \
--request POST \
--header 'Authorization: Bearer ${MAVEN_CENTRAL_BEARER_TOKEN}' \
--form [email protected] \
https://central.sonatype.com/api/v1/publisher/upload
Expand Down

0 comments on commit 0724253

Please sign in to comment.