File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : " Setup Bun"
22description : " Setup Bun with caching and install dependencies"
3+ inputs :
4+ install-flags :
5+ description : " Additional flags to pass to 'bun install'"
6+ required : false
7+ default : " "
38runs :
49 using : " composite"
510 steps :
4651 # e.g. ./patches/ for standard-openapi
4752 # https://github.com/oven-sh/bun/issues/28147
4853 if [ "$RUNNER_OS" = "Windows" ]; then
49- bun install --linker hoisted
54+ bun install --linker hoisted ${{ inputs.install-flags }}
5055 else
51- bun install
56+ bun install ${{ inputs.install-flags }}
5257 fi
5358 shell : bash
Original file line number Diff line number Diff line change @@ -402,12 +402,14 @@ jobs:
402402 fail-fast : false
403403 matrix :
404404 settings :
405- - host : macos-latest
405+ - host : macos-26-intel
406406 target : x86_64-apple-darwin
407407 platform_flag : --mac --x64
408- - host : macos-latest
408+ bun_install_flags : --os=darwin --cpu=x64
409+ - host : macos-26
409410 target : aarch64-apple-darwin
410411 platform_flag : --mac --arm64
412+ bun_install_flags : --os=darwin --cpu=arm64
411413 # github-hosted: blacksmith lacks ARM64 MSVC cross-compilation toolchain
412414 - host : " windows-2025"
413415 target : aarch64-pc-windows-msvc
@@ -437,6 +439,8 @@ jobs:
437439 run : echo "${{ secrets.APPLE_API_KEY_PATH }}" > $RUNNER_TEMP/apple-api-key.p8
438440
439441 - uses : ./.github/actions/setup-bun
442+ with :
443+ install-flags : ${{ matrix.settings.bun_install_flags }}
440444
441445 - name : Azure login
442446 if : runner.os == 'Windows'
You can’t perform that action at this time.
0 commit comments