mirror of
https://github.com/actions/checkout.git
synced 2025-05-14 02:19:29 +02:00
add options to set max attempts and intervals
This commit is contained in:
parent
2d7d9f7ff5
commit
4dca78049b
8 changed files with 85 additions and 3 deletions
|
@ -98,6 +98,15 @@ inputs:
|
|||
github-server-url:
|
||||
description: The base URL for the GitHub instance that you are trying to clone from, will use environment defaults to fetch from the same instance that the workflow is running from unless specified. Example URLs are https://github.com or https://my-ghes-server.example.com
|
||||
required: false
|
||||
max-attempts:
|
||||
description: Maximum number of attempts
|
||||
default: 3
|
||||
min-retry-interval:
|
||||
description: Minimum number of seconds to wait before retrying
|
||||
default: 10
|
||||
max-retry-interval:
|
||||
description: Maximum number of seconds to wait before retrying
|
||||
default: 20
|
||||
runs:
|
||||
using: node20
|
||||
main: dist/index.js
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue