Skip to content

Commit

Permalink
Wait longer before trying to install mingw after failing to install (#…
Browse files Browse the repository at this point in the history
…1670)

I've been watching the mingw failures I get and I've been checking
"successes" to see if I can see the current 2 second back off being
successful. I regularly see the short retry period not working and
I've seen only once or twice that it it worked.

This commit ups the time to retry to a longer 60 seconds which
should give a better chance at success.

Signed-off-by: Sean T. Allen <[email protected]>
  • Loading branch information
SeanTAllen authored Feb 24, 2023
1 parent 889c53a commit b9dbd86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ jobs:
# remove any left-over state
choco uninstall -y --no-progress --force mingw
Write-Output 'Sleeping for 2 seconds'
Sleep -Seconds 2
Write-Output 'Sleeping for 60 seconds'
Sleep -Seconds 60
}
choco install -y --no-progress --stop-on-first-failure --force mingw --allow-downgrade --version 10.2.0
Expand Down

0 comments on commit b9dbd86

Please sign in to comment.