summaryrefslogtreecommitdiffhomepage
path: root/.github/actions
diff options
context:
space:
mode:
authorLuke Parker <[email protected]>2026-03-16 18:39:06 +1000
committerGitHub <[email protected]>2026-03-16 08:39:06 +0000
commit4d7cbdcbef92bb69613fe98ba64e832b5adddd79 (patch)
treea5206ccb719a12b195db546a689e8bfee00449b2 /.github/actions
parent59c530cc6cac6992f89d6b8387acd8dd74efc0ca (diff)
downloadopencode-4d7cbdcbef92bb69613fe98ba64e832b5adddd79.tar.gz
opencode-4d7cbdcbef92bb69613fe98ba64e832b5adddd79.zip
fix(ci): workaround by using hoisted Bun linker on Windows (#17751)
Diffstat (limited to '.github/actions')
-rw-r--r--.github/actions/setup-bun/action.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/actions/setup-bun/action.yml b/.github/actions/setup-bun/action.yml
index f53f20fcd..d1e3bfc25 100644
--- a/.github/actions/setup-bun/action.yml
+++ b/.github/actions/setup-bun/action.yml
@@ -41,5 +41,13 @@ runs:
shell: bash
- name: Install dependencies
- run: bun install
+ run: |
+ # Workaround for patched peer variants
+ # e.g. ./patches/ for standard-openapi
+ # https://github.com/oven-sh/bun/issues/28147
+ if [ "$RUNNER_OS" = "Windows" ]; then
+ bun install --linker hoisted
+ else
+ bun install
+ fi
shell: bash