diff options
| author | Brendan Allan <[email protected]> | 2026-04-24 12:50:34 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-24 04:50:34 +0000 |
| commit | 3bfe6a1ef6cf41bc7f05339d63ab8d6032c6e8e1 (patch) | |
| tree | 17db59e9a40c29344a03abb494119db179243486 /.github/actions/setup-bun | |
| parent | 5c5069b6227ce6c4cbc1b6daca65da69daf43f84 (diff) | |
| download | opencode-3bfe6a1ef6cf41bc7f05339d63ab8d6032c6e8e1.tar.gz opencode-3bfe6a1ef6cf41bc7f05339d63ab8d6032c6e8e1.zip | |
ci: add platform-specific bun install flags (#23822)
Diffstat (limited to '.github/actions/setup-bun')
| -rw-r--r-- | .github/actions/setup-bun/action.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/actions/setup-bun/action.yml b/.github/actions/setup-bun/action.yml index d1e3bfc25..9859174a2 100644 --- a/.github/actions/setup-bun/action.yml +++ b/.github/actions/setup-bun/action.yml @@ -1,5 +1,10 @@ name: "Setup Bun" description: "Setup Bun with caching and install dependencies" +inputs: + install-flags: + description: "Additional flags to pass to 'bun install'" + required: false + default: "" runs: using: "composite" steps: @@ -46,8 +51,8 @@ runs: # e.g. ./patches/ for standard-openapi # https://github.com/oven-sh/bun/issues/28147 if [ "$RUNNER_OS" = "Windows" ]; then - bun install --linker hoisted + bun install --linker hoisted ${{ inputs.install-flags }} else - bun install + bun install ${{ inputs.install-flags }} fi shell: bash |
