ci(ui): reuse release build for SSH screenshot probe

This commit is contained in:
GeekMr committed 2026-09-25 13:04:55 +08:00
1 parent dcb3e7aa5e
commit d5181c983e
1 file changed
+2 -2
+2 -2
View File
@@ -161,11 +161,11 @@ jobs:
$env:PEBREL_SSH_COPY_QA_DIR = $probe $env:PEBREL_SSH_COPY_QA_DIR = $probe
$stdout = Join-Path $probe 'probe.stdout.log' $stdout = Join-Path $probe 'probe.stdout.log'
$stderr = Join-Path $probe 'probe.stderr.log' $stderr = Join-Path $probe 'probe.stderr.log'
$args = @('test', '--locked', '-p', 'nebula', '--bin', 'pebrel', '--features', 'gpui-test-support', 'native_ssh_copy_context_menu_preview', '--', '--ignored', '--nocapture') $args = @('test', '--release', '--locked', '-p', 'nebula', '--bin', 'pebrel', '--features', 'gpui-test-support', 'native_ssh_copy_context_menu_preview', '--', '--ignored', '--nocapture')
$cargo = Start-Process cargo -ArgumentList $args -PassThru -RedirectStandardOutput $stdout -RedirectStandardError $stderr $cargo = Start-Process cargo -ArgumentList $args -PassThru -RedirectStandardOutput $stdout -RedirectStandardError $stderr
$ready = Join-Path $probe 'menu-ready.json' $ready = Join-Path $probe 'menu-ready.json'
$deadline = (Get-Date).AddMinutes(20) $deadline = (Get-Date).AddMinutes(30)
while (-not (Test-Path $ready)) { while (-not (Test-Path $ready)) {
if ($cargo.HasExited) { if ($cargo.HasExited) {
Get-Content $stdout -ErrorAction SilentlyContinue Get-Content $stdout -ErrorAction SilentlyContinue