Commit Graph

14 Commits

Author SHA1 Message Date
Sven Schliesing
3e91a01664 Upgrade to node16 (#101)
> Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: nick-fields/retry

Co-authored-by: Nick Fields <46869826+nick-fields@users.noreply.github.com>
2022-10-14 20:45:08 -04:00
Nick Fields
f227091f2e feat: retry only on specific exit code (#58)
* feat: retry only on specific exit code

* Run ci_cd on all push events

* dedupe step IDs

* add assertions for retry_on_exit_code tests

* minor: implemented suggested fix from @andersfischernielsen

* docs: update readme to reflect new retry_on_exit_code input

Co-authored-by: Anders Fischer-Nielsen <andersfischern@me.com>
2022-04-25 22:10:55 -04:00
asnewman
f7cf641580 Add new_command_on_retry 2021-12-08 20:15:21 -08:00
Nick Fields
67e1bdfd8d minor: add continue_on_error input option 2021-09-23 22:26:06 -04:00
Nick Fields
7c68161adf Add on_retry_command input to optionally run cmd before a retry (#33)
* minor: add on_retry_command input to optionally run cmd before a retry

* test: add test for on-retry-command failure
2021-01-04 21:32:32 -05:00
Nick Fields
bee86ddb77 docs: cleanup docs around shell defaults and supported 2021-01-03 21:00:31 -05:00
Nick Fields
d0aac3501c fix: dont require OS input and use correct shell per os 2021-01-02 10:20:16 -05:00
Isaac Levin
877a0ac37e feat: add SHELL input support 2021-01-01 22:57:53 +00:00
Nick Fields
5ee366655c feat: add warning_on_retry input 2020-11-18 10:25:11 -05:00
Nick Fields
3f5463b526 major: bump to v2 and added lots of examples 2020-09-29 14:56:52 -04:00
Nick Fields
915303cda5 fix: surface exit code from spawned process
patch: added dotenv sample configuration and command to run locally

fix: added timeout_seconds input and handle timeout properly
2020-09-29 14:22:46 -04:00
Nick Fields
86ecaf34fa fix: action.yml misspelling 2020-09-29 10:49:30 -04:00
Nick Fields
ec785f59e1 minor: added tests and helper outputs for PR #15 2020-09-29 10:48:02 -04:00
Nick Fields
d4e983ab06 major: initial implementation of retry step 2020-02-13 16:46:33 -05:00