-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Advice: Is it possible to only retry subactions if one has already passed (build matrix) #108
Comments
Hello @tyeth The action retries the failed commands or actions. If you add a As I understand, you want to have some kind of orchestrator for matrix of jobs. The You can add a step with |
Thanks for the clarification, and yes you understood me correctly 🙂 I will have to play more, or maybe find a job level compatible GitHub action for retries |
Having thought about it I could just set the builds step to retry twice, but that seems gratuitously wasteful in the case of actual failures due to bad code. I wonder if there is a way to distinguish a failure between a timeout as opposed to a clear build failure (the builds basically say building in the output then never return anything else). |
The Maybe, you can setup error handler in your step. If it will be a step with command, then you need no |
Hi, there's this action that's basically a build matrix, and I wonder if it is possible to check if one of the jobs has a pass, i.e. the code at least builds on one platform/environment, as the check condition for retrying any failures in the same or other jobs.
This is the file:
https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/blob/main/.github/workflows/build-clang-doxy.yml
There's basically a large chance of one or more spurious failures.
The text was updated successfully, but these errors were encountered: