mirror of
https://github.com/actions/checkout.git
synced 2026-01-19 22:49:37 +08: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
|
|
@ -118,4 +118,19 @@ export interface IGitSourceSettings {
|
|||
* User override on the GitHub Server/Host URL that hosts the repository to be cloned
|
||||
*/
|
||||
githubServerUrl: string | undefined
|
||||
|
||||
/**
|
||||
* Retry helper max attempts
|
||||
*/
|
||||
maxAttempts: number
|
||||
|
||||
/**
|
||||
* Retry helper min interval seconds
|
||||
*/
|
||||
minRetryInterval: number
|
||||
|
||||
/**
|
||||
* Retry helper max interval seconds
|
||||
*/
|
||||
maxRetryInterval: number
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue