Skip to content

oven-sh/setup-bun

Use this GitHub Action with your project

Add this Action to an existing workflow or create a new one.

View on Marketplace
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
September 11, 2023 13:55
src
September 11, 2023 12:37
September 11, 2023 12:37
September 11, 2023 12:37
September 11, 2023 12:37
September 26, 2023 17:36
September 11, 2023 12:52
September 11, 2023 12:37
February 22, 2023 17:47

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