Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(ci): install bunx on Windows runner

Ezra Ellettecd11995809fc
diff --git a/infra/release-windows-runner/bootstrap.ps1 b/infra/release-windows-runner/bootstrap.ps1
index b95ea6c9a..cb5e7423e 100644
--- a/infra/release-windows-runner/bootstrap.ps1
+++ b/infra/release-windows-runner/bootstrap.ps1
@@ -56,6 +56,9 @@ if (-not (Test-Path (Join-Path $bunRoot 'bun.exe'))) {
Copy-Item "$bunExtract\bun-windows-x64\*" $bunRoot -Recurse -Force
Remove-Item $bunZip, $bunExtract -Recurse -Force
}
+if (-not (Test-Path (Join-Path $bunRoot 'bunx.exe'))) {
+ Copy-Item (Join-Path $bunRoot 'bun.exe') (Join-Path $bunRoot 'bunx.exe') -Force
+}
$vswhere = 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe'
if (-not (Test-Path $vswhere) -or -not (& $vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath)) {
@@ -162,6 +165,7 @@ $commands = @(
'git lfs version',
'node --version',
'bun --version',
+ 'bunx --version',
'cmake --version',
'ninja --version',
'rustc --version',