mirror of
https://github.com/actions/checkout.git
synced 2025-04-20 17:46:45 +00:00
Added retry to submodule cloning
This commit is contained in:
parent
b32f140b0c
commit
15b44f68ab
2 changed files with 8 additions and 2 deletions
|
@ -414,7 +414,10 @@ class GitCommandManager {
|
|||
args.push('--recursive')
|
||||
}
|
||||
|
||||
await this.execGit(args)
|
||||
const that = this
|
||||
await retryHelper.execute(async () => {
|
||||
await that.execGit(args)
|
||||
})
|
||||
}
|
||||
|
||||
async submoduleStatus(): Promise<boolean> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue