CI: add some retry on Proxspace initialization

This commit is contained in:
Philippe Teuwen
2026-02-27 15:54:57 +01:00
parent 65be119a42
commit 466931137d
+10 -1
View File
@@ -46,7 +46,16 @@ jobs:
- name: ProxSpace initial startup
working-directory: C:\ProxSpace
run: ./runme64.bat -c "exit"
run: |
$maxAttempts = 3
$delay = 20
for ($i = 1; $i -le $maxAttempts; $i++) {
Write-Host "Attempt $i..."
./runme64.bat -c "exit"
if ($LASTEXITCODE -eq 0) { exit 0 }
if ($i -lt $maxAttempts) { Start-Sleep -Seconds $delay }
}
exit 1
- uses: actions/checkout@v4