-
Hi Team, I am aware that we have an option to re-run the failed workflow by clicking the button Re-run checks . But that would re-run the entire workflow again. I am also aware that currently we cannot resume the workflow directly from the failed step. But, does GitHub Actions provides a way to automatically retry the failed steps? say for example, if my maven deploy step fails due to network issues for the first time, it should retry, let’s say 3 times, before it actually fails. Do we have a retry mechanism available ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @riprasad, Thank you for reaching this out! Currently it’s not supported to retry the failed step but only the workflow, you can raise a feature_request here where github product manager will take a review. As a workaround, you can use below sample code for the retry, please refer to my comment:
set Please refer to my workflow for more details. weide-zhou/ticket13Contribute to weide-zhou/ticket13 development by creating an account on GitHub. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Related: Retry for failed steps |
Beta Was this translation helpful? Give feedback.
-
I was able to achieve retries by using this simple workaround
|
Beta Was this translation helpful? Give feedback.
I was able to achieve retries by using this simple workaround