Skip to content

Update oven-sh/setup-bun action to v2#172

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/oven-sh-setup-bun-2.x
Open

Update oven-sh/setup-bun action to v2#172
renovate[bot] wants to merge 1 commit intomainfrom
renovate/oven-sh-setup-bun-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 13, 2025

This PR contains the following updates:

Package Type Update Change
oven-sh/setup-bun action major v1v2

Release Notes

oven-sh/setup-bun (oven-sh/setup-bun)

v2.2.0

Compare Source

oven-sh/setup-bun is the github action for setting up Bun.

What's Changed
New Contributors

Full Changelog: oven-sh/setup-bun@v2...v2.2.0

v2.1.3

Compare Source

oven-sh/setup-bun is the github action for setting up Bun.

What's Changed
New Contributors

Full Changelog: oven-sh/setup-bun@v2...v2.1.3

v2.1.2

Compare Source

oven-sh/setup-bun is the github action for setting up Bun.

What's Changed

Full Changelog: oven-sh/setup-bun@v2...v2.1.2

v2.1.1

Compare Source

oven-sh/setup-bun is the github action for setting up Bun.

What's Changed

Full Changelog: oven-sh/setup-bun@v2.1.0...v2.1.1

v2.1.0

Compare Source

oven-sh/setup-bun is the github action for setting up Bun.

What's Changed

New Contributors

Full Changelog: oven-sh/setup-bun@v2...v2.1.0

v2.0.2

Compare Source

oven-sh/setup-bun is the github action for setting up Bun.

What's Changed
New Contributors

Full Changelog: oven-sh/setup-bun@v2...v2.0.2

v2.0.1

Compare Source

oven-sh/setup-bun is the github action for setting up Bun.

This releases fixes false warning when you don't have any parameters in action (#​90) thanks to @​Araxeus

What's Changed

New Contributors

Full Changelog: oven-sh/setup-bun@v1...v2

v2

Compare Source

oven-sh/setup-bun is the github action for setting up Bun.

This release introduces support for the bun-version-file option, fixes #​79, and adds bun paths & urls to the output (#​81)

For more information, see #​76 by @​adeherysh and #​80 by @​xHyroM 🎉

Full Changelog: oven-sh/setup-bun@v1...v2

v1.2.2

Compare Source

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

Compare Source

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:
    BUN_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
  run: bun install --frozen-lockfile
Node.js not needed

In most cases, you shouldn't need to use the setup-node GitHub Action.

Inputs

Name Description Default Examples
bun-version The version of Bun to download and install. latest canary, 1.0.0, 1.0.x
registry-url Registry URL where some private package is stored. undefined "https://npm.pkg.github.com/"
scope Scope for private packages. undefined "@​foo", "@​orgname"
no-cache Disable caching of the downloaded executable. false true, false

Outputs

Name Description Example
cache-hit If the Bun executable was read from cache. true
bun-version The output from bun --version. 1.0.0
bun-revision The output from bun --revision. 1.0.0+822a00c4

What's Changed

Full Changelog: oven-sh/setup-bun@v1.2.0...v1.2.1

v1.2.0

Compare Source

setup-bun v1.2.0

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:
    BUN_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
  run: bun install --frozen-lockfile
Node.js not needed

In most cases, you shouldn't need to use the setup-node GitHub Action.

Inputs

Name Description Default Examples
bun-version The version of Bun to download and install. latest canary, 1.0.0, 1.0.x
registry-url Registry URL where some private package is stored. undefined "https://npm.pkg.github.com/"
scope Scope for private packages. undefined "@​foo", "@​orgname"
no-cache Disable caching of the downloaded executable. false true, false

Outputs

Name Description Example
cache-hit If the Bun executable was read from cache. true
bun-version The output from bun --version. 1.0.0
bun-revision The output from bun --revision. 1.0.0+822a00c4

What's Changed

New Contributors

Full Changelog: oven-sh/setup-bun@v1...v1.2.0

v1.1.1

Compare Source

setup-bun v1.1.0

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:
    BUN_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
  run: bun install

Inputs

Name Description Default Examples
bun-version The version of Bun to download and install. latest canary, 1.0.0, 1.0.x
registry-url Registry URL where some private package is stored. undefined "https://npm.pkg.github.com/"
scope Scope for private pacakages. undefined "@​foo", "@​orgname"

Outputs

Name Description Example
cache-hit If the Bun executable was read from cache. true
bun-version The output from bun --version. 1.0.0
bun-revision The output from bun --revision. 1.0.0+822a00c4

What's Changed

Full Changelog: oven-sh/setup-bun@v1.1.0...v1.1.1

v1.1.0

Compare Source

setup-bun v1.1.0

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:
    BUN_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
  run: bun install

Inputs

Name Description Default Examples
bun-version The version of Bun to download and install. latest canary, 1.0.0, 1.0.x
registry-url Registry URL where some private package is stored. undefined "https://npm.pkg.github.com/"
scope Scope for private pacakages. undefined "@​foo", "@​orgname"

Outputs

Name Description Example
cache-hit If the Bun executable was read from cache. true
bun-version The output from bun --version. 1.0.0
bun-revision The output from bun --revision. 1.0.0+822a00c4

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 12pm on Sunday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/oven-sh-setup-bun-2.x branch from c522377 to 13cf68b Compare July 28, 2025 11:32
@renovate renovate Bot changed the title chore(deps): update oven-sh/setup-bun action to v2 Update oven-sh/setup-bun action to v2 Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants