Nick Fields 39da88d5f7 Merge pull request #6 from nick-invision/nrf/issue-5
Enforce retry_wait_seconds both when command fails and times out
2020-06-17 14:09:20 -04:00
2020-06-17 13:57:10 -04:00
2020-06-17 13:57:10 -04:00
2020-02-13 01:30:05 -05:00

retry

Retries an Action step on failure or timeout. This is currently intended to replace the run step for moody commands.

Inputs

timeout_minutes

Required Minutes to wait before attempt times out

max_attempts

Required Number of attempts to make before failing the step

command

Required The command to run

retry_wait_seconds

Optional Number of seconds to wait before attempting the next retry. Defaults to 10

polling_interval_seconds

Optional Number of seconds to wait while polling for command result. Defaults to 1

Example usage

uses: nick-invision/retry@v1
with:
  timeout_minutes: 10
  max_attempts: 3
  command: npm install
Description
No description provided
Readme MIT 2.2 MiB
Languages
TypeScript 91%
JavaScript 3.1%
Makefile 3%
Shell 2.9%