Skip to content

Retry Run Action

Actions
retry run script action
v0.3.0
Latest
Star (0)

Tags

 (1)

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.

Retry Run Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

retry run script action
v0.3.0
Latest

Tags

 (1)

Retry Run Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.