Simple retry script run action
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
retry count. Default: 3
run script text. (require)
interval seconds. Default: 5
custom shell command. Default: ``
Output to GITHUB_OUTPUT is available.