Prechádzať zdrojové kódy

fix(ci): workaround by using hoisted Bun linker on Windows (#17751)

Luke Parker 5 mesiacov pred
rodič
commit
4d7cbdcbef
1 zmenil súbory, kde vykonal 9 pridanie a 1 odobranie
  1. 9 1
      .github/actions/setup-bun/action.yml

+ 9 - 1
.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