Skip to content
repeat

GitHub Action

Simple Shell Retry Action

v1 Latest version

Simple Shell Retry Action

repeat

Simple Shell Retry Action

Take a command and retry it a give number of times

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Simple Shell Retry Action

uses: ghostsecurity/retry-action@v1

Learn more about this action in ghostsecurity/retry-action

Choose a version

Retry action

This very simple action will take a command and a number of times to retry on failure.

Inputs

retry-count

The number of times to retry, defaults to 5

command

Required The command to run

Example usage

uses: ghostsecurity/retry-action@v1
with:
  retry-count: 5
  command: |
    make test-integration