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

GitHub Action

Setup Bun Runtime

v1.4.2

Setup Bun Runtime

play

Setup Bun Runtime

Setup Bun Runtime

Installation

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

              

- name: Setup Bun Runtime

uses: antongolub/action-setup-bun@v1.4.2

Learn more about this action in antongolub/action-setup-bun

Choose a version

action-setup-bun

Setup GitHub Actions workflow with a specific version of Bun and add $BUN_INSTALL/bin to the $PATH.

Requirements

  • macOS x64 & Silicon, Linux x64, Windows Subsystem for Linux

Usage

- name: Setup Bun Runtime
  uses: antongolub/action-setup-bun@v1.x.x
  with:
    bun-version: 0.1.2 # Examples: 0.0.77, 0.1.2, >=0.1

- name: Run script
  run: bun index.js

Outputs

version — the version of Bun that was installed.
error_message — if an error occurred, the error message.

License

MIT