diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b4fefb..c7ee5a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -141,8 +141,15 @@ jobs: - name: Test agent-browser install command run: | $env:PATH = "$pwd\bin;$env:PATH" - bin/agent-browser-win32-x64.exe install + for ($i = 1; $i -le 3; $i++) { + bin/agent-browser-win32-x64.exe install + if ($LASTEXITCODE -eq 0) { exit 0 } + Write-Host "Attempt $i failed, retrying in 10 seconds..." + Start-Sleep -Seconds 10 + } + exit 1 shell: pwsh + timeout-minutes: 10 - name: Verify Chromium was installed run: |