Set up your GitHub Actions workflow with a specific version of Bun
Find a file
2023-09-26 17:36:38 +02:00
.github/workflows Do not fail-fast for action 2023-02-22 17:57:41 -08:00
dist Fix missing diff 2023-09-11 13:55:59 -07:00
src Fix bunx (#18) 2023-09-11 12:37:45 -07:00
.gitattributes Fix bunx (#18) 2023-09-11 12:37:45 -07:00
.gitignore Fix bunx (#18) 2023-09-11 12:37:45 -07:00
action.yml build: bump nodejs to v20 (#24) 2023-09-26 17:36:38 +02:00
bun.lockb Remove node_modules, for real 2023-09-11 12:52:41 -07:00
LICENSE chore: update package.json, license 2022-07-12 11:03:29 +02:00
package.json Fix bunx (#18) 2023-09-11 12:37:45 -07:00
README.md Fix bunx (#18) 2023-09-11 12:37:45 -07:00
tsconfig.json Next release of setup-bun 2023-02-22 17:47:24 -08:00

setup-bun

Download, install, and setup Bun in GitHub Actions.

Usage

- uses: oven-sh/setup-bun@v1
  with:
    bun-version: latest

Inputs

Name Description Default Examples
bun-version The version of Bun to download and install. latest canary, 1.0.0, <sha>

Outputs

Name Description Example
cache-hit If the Bun executable was read from cache. true
bun-version The output from bun --version. 1.0.0
bun-revision The output from bun --revision. 1.0.0+822a00c4d508b54f650933a73ca5f4a3af9a7983