Skip to content

Commit f10b93c

Browse files
committed
[ci] Invoke-WebRequest with -MaximumRetryCount 3
x-ref: "retry network operations 3 times" cygwin/cygwin-install-action#25
1 parent 069971f commit f10b93c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ jobs:
258258
shell: powershell
259259
run: |
260260
# (https://github.com/cygwin/cygwin-install-action/blob/master/action.yml)
261-
Invoke-WebRequest https://cygwin.com/setup-x86_64.exe -OutFile C:\setup.exe
261+
Invoke-WebRequest https://cygwin.com/setup-x86_64.exe -OutFile C:\setup.exe -MaximumRetryCount 3
262262
# because setup is a Windows GUI app, make it part of a pipeline to make
263263
# PowerShell wait for it to exit
264264
& C:\setup.exe -qgnO -t | Out-Default

0 commit comments

Comments
 (0)