From fc05e4aee913cd0ae7726f827c0a670feb961bca Mon Sep 17 00:00:00 2001 From: Dariel Dato-on <80038+oddrationale@users.noreply.github.com> Date: Fri, 6 Mar 2026 07:44:19 -0600 Subject: [PATCH] fix: simplify Bun setup for Windows ARM64 (#965) oven-sh/setup-bun@v2 (v2.1.1+) now automatically falls back ARM64 to x64 with AVX2 disabled on Windows, making the manual baseline download workaround unnecessary. Ref: https://github.com/oven-sh/setup-bun/pull/131 Ref: https://github.com/oven-sh/setup-bun/issues/130 Co-authored-by: Claude Opus 4.6 --- .github/workflows/build.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0b15252..a2eb931 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -77,18 +77,9 @@ jobs: echo "Build profile: release" fi - - name: Setup Bun (standard) - if: ${{ !(contains(inputs.platform, 'windows') && contains(inputs.target, 'aarch64')) }} + - name: Setup Bun uses: oven-sh/setup-bun@v2 - # Bun does not fully support Windows ARM64 yet, so we pin the baseline build. - # See https://github.com/oven-sh/bun/issues/9824 for details. - - name: Setup Bun (Windows ARM64 baseline) - if: ${{ contains(inputs.platform, 'windows') && contains(inputs.target, 'aarch64') }} - uses: oven-sh/setup-bun@v2 - with: - bun-download-url: "https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64-baseline.zip" - - name: install Rust stable uses: dtolnay/rust-toolchain@stable with: