Skip to content

srz-zumix/retry-run-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

retry-run-action

Simple retry script run action

Usage

The number of attempts is provided as the RETRY_RUN_ATTEMPT environment variable during script execution.

- uses: srz-zumix/retry-run-action@v0
  with:
    retry: 5
    run: |
      echo "count=${RETRY_RUN_ATTEMPT}" | tee -a "${GITHUB_OUTPUT}"
      test "${RETRY_RUN_ATTEMPT}" == 5

Inputs

retry

retry count. Default: 3

run

run script text. (require)

interval

interval seconds. Default: 5

shell

custom shell command. Default: ``

see GitHub Actions shell

Outputs

Output to GITHUB_OUTPUT is available.

About

Simple retry script run action

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published