We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f66558e commit fc21b48Copy full SHA for fc21b48
eng/common/Install-DotNetSdk.ps1
@@ -45,11 +45,11 @@ $DotnetChannel = "9.0"
45
$InstallFailed = $false
46
if ($IsRunningOnUnix) {
47
& chmod +x $DotnetInstallScriptPath
48
- & "$PSScriptRoot/Invoke-WithRetry.ps1" "$DotnetInstallScriptPath --channel $DotnetChannel --install-dir $InstallPath"
+ & "$PSScriptRoot/Invoke-WithRetry.ps1" "$DotnetInstallScriptPath --channel $DotnetChannel --install-dir $InstallPath" -Retries 5
49
$InstallFailed = ($LASTEXITCODE -ne 0)
50
}
51
else {
52
- & "$PSScriptRoot/Invoke-WithRetry.ps1" "$DotnetInstallScriptPath -Channel $DotnetChannel -InstallDir $InstallPath"
+ & "$PSScriptRoot/Invoke-WithRetry.ps1" "$DotnetInstallScriptPath -Channel $DotnetChannel -InstallDir $InstallPath" -Retries 5
53
$InstallFailed = (-not $?)
54
55
0 commit comments