Skip to content

Commit

Permalink
Add cleaning up for failures
Browse files Browse the repository at this point in the history
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
  • Loading branch information
GumpacG committed Aug 27, 2024
1 parent eeea9f9 commit 795566b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/java-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ jobs:
"https://central.sonatype.com/api/v1/publisher/status?id=123" \
| jq '.deploymentState'`
printenv DEPLOYMENT_STATUS
if [[ $DEPLOYMENT_STATUS -ne "VALIDATED" ]]; then exit 1 ; fi
if [[ $DEPLOYMENT_STATUS -ne "VALIDATED" || $DEPLOYMENT_STATUS -eq null ]]; then exit 1 ; fi
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 795566b

Please sign in to comment.