Skip to content

Warning

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

Setup Bun

Actions
Download, install, and setup Bun to your path
v0.1.8
Star (484)

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 }}

Custom repository

- uses: xhyrom/[email protected]
  with:
    repository: https://github.com/oven-sh/misc-test-builds
    github-token: ${{ secrets.GITHUB_TOKEN }}

Custom download url

- uses: xhyrom/[email protected]
  with:
    custom-download-url: https://api.github.com/repos/oven-sh/bun/actions/artifacts/311939881/zip # must be github api
    github-token: ${{ secrets.GITHUB_TOKEN }}

Setup Bun is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Download, install, and setup Bun to your path
v0.1.8

Setup Bun is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.