Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
play-circle

GitHub Action

Setup Bun

v0.1.6

Setup Bun

play-circle

Setup Bun

Download, install, and setup Bun to your path

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup Bun

uses: oven-sh/setup-bun@v0.1.6

Learn more about this action in oven-sh/setup-bun

Choose a version

setup-bun

Huge inspiration setup-deno

Set up your GitHub Actions workflow with a specific version of Bun.

Usage

Latest stable

- uses: xhyrom/setup-bun@v0.1.6
  with:
    bun-version: latest
    github-token: ${{ secrets.GITHUB_TOKEN }}

Specific version

- uses: xhyrom/setup-bun@v0.1.6
  with:
    bun-version: "0.1.5"
    github-token: ${{ secrets.GITHUB_TOKEN }}

Canary builds

- uses: xhyrom/setup-bun@v0.1.6
  with:
    bun-version: canary
    github-token: ${{ secrets.GITHUB_TOKEN }}