Skip to content

Commit edd4238

Browse files
committed
fix(ci): keep the macos builder on a literal bun pin
The macOS build job runs on the self-hosted builder against the persistent tree at BROWSEROS_REPO_PATH and has no actions/checkout, so GITHUB_WORKSPACE never holds the source. setup-bun resolves bun-version-file from GITHUB_WORKSPACE, finds nothing, and falls back to latest, which would have left source-mode macOS releases on a floating toolchain. Restore the literal pin for this one job and record why it cannot read the version file. A job-level audit confirms it is the only one of the fifteen setup-bun steps without a checkout ahead of it.
1 parent 64b91a1 commit edd4238

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/release-macos.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,14 @@ jobs:
266266

267267
- name: Setup Bun
268268
if: steps.inputs.outputs.resource_mode == 'source' && steps.inputs.outputs.products == 'browseros'
269+
# Pinned literally rather than read from package.json: this job builds
270+
# from the persistent tree at BROWSEROS_REPO_PATH and never checks out
271+
# into GITHUB_WORKSPACE, which is where setup-bun resolves a version
272+
# file from. A workspace-relative path finds nothing and Bun silently
273+
# falls back to latest. Keep in sync with packageManager.
269274
uses: oven-sh/setup-bun@v2
270275
with:
271-
bun-version-file: packages/browseros-agent/package.json
276+
bun-version: "1.3.6"
272277

273278
- name: Install BrowserOS server dependencies
274279
if: steps.inputs.outputs.resource_mode == 'source' && steps.inputs.outputs.products == 'browseros'

0 commit comments

Comments
 (0)