mirror of
https://github.com/actions/checkout.git
synced 2025-12-17 23:18:25 +00:00
Added retry to submodule cloning
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user