Commit 7a5e123
committed
Retry choco install on Windows to absorb transient download failures
On Windows the action installs PostgreSQL via `choco install`, which
downloads the installer from get.enterprisedb.com. That host
intermittently returns HTTP 403, which aborts the install and fails the
whole job even though a retry usually succeeds.
Wrap the `choco install` invocation in a small retry loop (3 attempts,
15s apart) so a transient download failure no longer breaks the build.1 parent 41a676a commit 7a5e123
1 file changed
Lines changed: 20 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
81 | 97 | | |
82 | 98 | | |
83 | 99 | | |
| |||
0 commit comments