Skip to content
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

Prevent script from exiting the process #60

Closed
marcelscruz opened this issue Jun 6, 2024 · 2 comments
Closed

Prevent script from exiting the process #60

marcelscruz opened this issue Jun 6, 2024 · 2 comments

Comments

@marcelscruz
Copy link

I have a script that runs on a GitHub action, which calls 3 times the indexing script, each time for a different URL.

Because of rate limiting, they all use different Google keys.

The problem is that, if the first one fails, the whole GitHub action exits, even though they're individually wrapped in try...catch blocks.

Any chance this could be changed, and left for the dev to decide when to exit the process?

Thanks!

@goenning
Copy link
Owner

goenning commented Jun 6, 2024

I think it's best to run that in 3 separate jobs on github action, instead of 3 steps in the same job
either that OR there might be an option on github action to ignore failed steps

@marcelscruz
Copy link
Author

That's a good idea, thank you Guilherme!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants