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

Add new_command_on_retry #50

Merged

Conversation

asnewman
Copy link
Contributor

@asnewman asnewman commented Dec 9, 2021

This PR adds a new feature called new_command_on_retry. This is an optional input that will be used on subsequent attempts if the first attempt fails.

Example use case:

  1. Step calls npx jest
  2. Flaky test fails
  3. Need to rerun npx jest but don't want to run all jests again
  4. To prevent running all tests again, want to run with --onlyFailures flag

@nick-invision
Copy link
Collaborator

Looks good to me, I regenerated the dist (it's a requirement for nodejs actions). Thanks for contributing!

Copy link
Collaborator

@nick-invision nick-invision left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@nick-invision nick-invision merged commit 7f8f3d9 into nick-fields:master Dec 10, 2021
@github-actions
Copy link

🎉 This PR is included in version 2.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

2 participants