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 <noreply@anthropic.com>
This commit is contained in:
Dariel Dato-on 2026-03-06 07:44:19 -06:00 committed by GitHub
parent f221f834c3
commit fc05e4aee9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: