Sourced from oven-sh/setup-bun's releases.
v2
oven-sh/setup-bun
is the github action for setting up Bun.This release introduces support for the
bun-version-file
option, fixes oven-sh/setup-bun#79, and adds bun paths & urls to the output (oven-sh/setup-bun#81)For more information, see oven-sh/setup-bun#76 by
@adeherysh
and oven-sh/setup-bun#80 by@xHyroM
:tada:Full Changelog: https://github.com/oven-sh/setup-bun/compare/v1...v2
v1.2.2
oven-sh/setup-bun
is the github action for setting up Bun.This release introduces support for the
bun-download-url
input, which lets you override the URL used to download the .zip file for Bun.Here's an example:
- name: Setup Bun uses: oven-sh/setup-bun@v1.2.2 with: bun-version: latest bun-download-url: "https://github.com/oven-sh/bun/releases/latest/download/bun-${{runner.os == 'macOS' && 'darwin' || runner.os}}-${{ runner.arch == 'X64' && 'x64' || 'arm64' }}.zip"
v1.2.1
setup-bun
v1.2.1
Download, install, and setup Bun in GitHub Actions.
Usage
- uses: oven-sh/setup-bun@v1 with: bun-version: latest
Using a custom NPM registry
- uses: oven-sh/setup-bun@v1 with: registry-url: "https://npm.pkg.github.com/" scope: "@foo"
If you need to authenticate with a private registry, you can set the
BUN_AUTH_TOKEN
environment variable.- name: Install Dependencies env: </tr></table>
... (truncated)