Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldickson committed Sep 18, 2024
1 parent 76dd940 commit a534eaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/scalabuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ jobs:
--form "name=${BUNDLE_NAME}" \
--write-out "%{http_code}" \
--silent --output /dev/null)
if [ $RESPONSE -eq 200 ]; then
echo "Successfully published to Maven Central"
if [ $RESPONSE -eq 200 ] || [ $RESPONSE -eq 201 ]; then
echo "Successfully published to Maven Central. HTTP status code: $RESPONSE"
else
echo "Failed to publish to Maven Central. HTTP status code: $RESPONSE"
exit 1
Expand Down

0 comments on commit a534eaf

Please sign in to comment.