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/[email protected]

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/[email protected]
  with:
    bun-version: latest
    github-token: ${{ secrets.GITHUB_TOKEN }}

Specific version

- uses: xhyrom/[email protected]
  with:
    bun-version: "0.1.5"
    github-token: ${{ secrets.GITHUB_TOKEN }}

Canary builds

- uses: xhyrom/[email protected]
  with:
    bun-version: canary
    github-token: ${{ secrets.GITHUB_TOKEN }}