oven-sh/setup-bun (oven-sh/setup-bun)
### [`v1.2.2`](https://redirect.github.com/oven-sh/setup-bun/releases/tag/v1.2.2)
[Compare Source](https://redirect.github.com/oven-sh/setup-bun/compare/v1.2.1...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:
```yaml
- 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`](https://redirect.github.com/oven-sh/setup-bun/releases/tag/v1.2.1)
[Compare Source](https://redirect.github.com/oven-sh/setup-bun/compare/v1.2.0...v1.2.1)
### setup-bun `v1.2.1`
Download, install, and setup [Bun](https://bun.sh) in GitHub Actions.
#### Usage
```yaml
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
```
##### Using a custom NPM registry
```yaml
- 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.
```yaml
- 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](https://redirect.github.com/actions/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
- build: bump ci actions by [@xHyroM](https://redirect.github.com/xHyroM) in [https://github.com/oven-sh/setup-bun/pull/66](https://redirect.github.com/oven-sh/setup-bun/pull/66)
- feat: support .tool-versions by [@xHyroM](https://redirect.github.com/xHyroM) in [https://github.com/oven-sh/setup-bun/pull/68](https://redirect.github.com/oven-sh/setup-bun/pull/68)
- fix: retry installing three times, add windows for testing by [@xHyroM](https://redirect.github.com/xHyroM) in [https://github.com/oven-sh/setup-bun/pull/72](https://redirect.github.com/oven-sh/setup-bun/pull/72)
- fix: close immediately by [@xHyroM](https://redirect.github.com/xHyroM) in [https://github.com/oven-sh/setup-bun/pull/75](https://redirect.github.com/oven-sh/setup-bun/pull/75)
**Full Changelog**: https://github.com/oven-sh/setup-bun/compare/v1.2.0...v1.2.1
### [`v1.2.0`](https://redirect.github.com/oven-sh/setup-bun/releases/tag/v1.2.0)
[Compare Source](https://redirect.github.com/oven-sh/setup-bun/compare/v1.1.1...v1.2.0)
### setup-bun `v1.2.0`
Download, install, and setup [Bun](https://bun.sh) in GitHub Actions.
#### Usage
```yaml
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
```
##### Using a custom NPM registry
```yaml
- 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.
```yaml
- 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](https://redirect.github.com/actions/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
- docs: add explanatory note about setup-node by [@PaulRBerg](https://redirect.github.com/PaulRBerg) in [https://github.com/oven-sh/setup-bun/pull/47](https://redirect.github.com/oven-sh/setup-bun/pull/47)
- Add GitHub action to auto-update the v1 tag by [@jcbhmr](https://redirect.github.com/jcbhmr) in [https://github.com/oven-sh/setup-bun/pull/53](https://redirect.github.com/oven-sh/setup-bun/pull/53)
- docs: add --frozen-lockfile to README by [@blimmer](https://redirect.github.com/blimmer) in [https://github.com/oven-sh/setup-bun/pull/52](https://redirect.github.com/oven-sh/setup-bun/pull/52)
- Fix typo in README.md by [@starsep](https://redirect.github.com/starsep) in [https://github.com/oven-sh/setup-bun/pull/57](https://redirect.github.com/oven-sh/setup-bun/pull/57)
- Move cache save to runs.post and exit early by [@andyexeter](https://redirect.github.com/andyexeter) in [https://github.com/oven-sh/setup-bun/pull/60](https://redirect.github.com/oven-sh/setup-bun/pull/60)
- Add no-cache option by [@maschwenk](https://redirect.github.com/maschwenk) in [https://github.com/oven-sh/setup-bun/pull/58](https://redirect.github.com/oven-sh/setup-bun/pull/58)
#### New Contributors
- [@PaulRBerg](https://redirect.github.com/PaulRBerg) made their first contribution in [https://github.com/oven-sh/setup-bun/pull/47](https://redirect.github.com/oven-sh/setup-bun/pull/47)
- [@jcbhmr](https://redirect.github.com/jcbhmr) made their first contribution in [https://github.com/oven-sh/setup-bun/pull/53](https://redirect.github.com/oven-sh/setup-bun/pull/53)
- [@blimmer](https://redirect.github.com/blimmer) made their first contribution in [https://github.com/oven-sh/setup-bun/pull/52](https://redirect.github.com/oven-sh/setup-bun/pull/52)
- [@starsep](https://redirect.github.com/starsep) made their first contribution in [https://github.com/oven-sh/setup-bun/pull/57](https://redirect.github.com/oven-sh/setup-bun/pull/57)
- [@andyexeter](https://redirect.github.com/andyexeter) made their first contribution in [https://github.com/oven-sh/setup-bun/pull/60](https://redirect.github.com/oven-sh/setup-bun/pull/60)
- [@maschwenk](https://redirect.github.com/maschwenk) made their first contribution in [https://github.com/oven-sh/setup-bun/pull/58](https://redirect.github.com/oven-sh/setup-bun/pull/58)
**Full Changelog**: https://github.com/oven-sh/setup-bun/compare/v1...v1.2.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR is behind base branch, 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 contains the following updates:
v1.1.1
->v1.2.2
Release Notes
oven-sh/setup-bun (oven-sh/setup-bun)
### [`v1.2.2`](https://redirect.github.com/oven-sh/setup-bun/releases/tag/v1.2.2) [Compare Source](https://redirect.github.com/oven-sh/setup-bun/compare/v1.2.1...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: ```yaml - 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`](https://redirect.github.com/oven-sh/setup-bun/releases/tag/v1.2.1) [Compare Source](https://redirect.github.com/oven-sh/setup-bun/compare/v1.2.0...v1.2.1) ### setup-bun `v1.2.1` Download, install, and setup [Bun](https://bun.sh) in GitHub Actions. #### Usage ```yaml - uses: oven-sh/setup-bun@v1 with: bun-version: latest ``` ##### Using a custom NPM registry ```yaml - 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. ```yaml - 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](https://redirect.github.com/actions/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 - build: bump ci actions by [@xHyroM](https://redirect.github.com/xHyroM) in [https://github.com/oven-sh/setup-bun/pull/66](https://redirect.github.com/oven-sh/setup-bun/pull/66) - feat: support .tool-versions by [@xHyroM](https://redirect.github.com/xHyroM) in [https://github.com/oven-sh/setup-bun/pull/68](https://redirect.github.com/oven-sh/setup-bun/pull/68) - fix: retry installing three times, add windows for testing by [@xHyroM](https://redirect.github.com/xHyroM) in [https://github.com/oven-sh/setup-bun/pull/72](https://redirect.github.com/oven-sh/setup-bun/pull/72) - fix: close immediately by [@xHyroM](https://redirect.github.com/xHyroM) in [https://github.com/oven-sh/setup-bun/pull/75](https://redirect.github.com/oven-sh/setup-bun/pull/75) **Full Changelog**: https://github.com/oven-sh/setup-bun/compare/v1.2.0...v1.2.1 ### [`v1.2.0`](https://redirect.github.com/oven-sh/setup-bun/releases/tag/v1.2.0) [Compare Source](https://redirect.github.com/oven-sh/setup-bun/compare/v1.1.1...v1.2.0) ### setup-bun `v1.2.0` Download, install, and setup [Bun](https://bun.sh) in GitHub Actions. #### Usage ```yaml - uses: oven-sh/setup-bun@v1 with: bun-version: latest ``` ##### Using a custom NPM registry ```yaml - 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. ```yaml - 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](https://redirect.github.com/actions/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 - docs: add explanatory note about setup-node by [@PaulRBerg](https://redirect.github.com/PaulRBerg) in [https://github.com/oven-sh/setup-bun/pull/47](https://redirect.github.com/oven-sh/setup-bun/pull/47) - Add GitHub action to auto-update the v1 tag by [@jcbhmr](https://redirect.github.com/jcbhmr) in [https://github.com/oven-sh/setup-bun/pull/53](https://redirect.github.com/oven-sh/setup-bun/pull/53) - docs: add --frozen-lockfile to README by [@blimmer](https://redirect.github.com/blimmer) in [https://github.com/oven-sh/setup-bun/pull/52](https://redirect.github.com/oven-sh/setup-bun/pull/52) - Fix typo in README.md by [@starsep](https://redirect.github.com/starsep) in [https://github.com/oven-sh/setup-bun/pull/57](https://redirect.github.com/oven-sh/setup-bun/pull/57) - Move cache save to runs.post and exit early by [@andyexeter](https://redirect.github.com/andyexeter) in [https://github.com/oven-sh/setup-bun/pull/60](https://redirect.github.com/oven-sh/setup-bun/pull/60) - Add no-cache option by [@maschwenk](https://redirect.github.com/maschwenk) in [https://github.com/oven-sh/setup-bun/pull/58](https://redirect.github.com/oven-sh/setup-bun/pull/58) #### New Contributors - [@PaulRBerg](https://redirect.github.com/PaulRBerg) made their first contribution in [https://github.com/oven-sh/setup-bun/pull/47](https://redirect.github.com/oven-sh/setup-bun/pull/47) - [@jcbhmr](https://redirect.github.com/jcbhmr) made their first contribution in [https://github.com/oven-sh/setup-bun/pull/53](https://redirect.github.com/oven-sh/setup-bun/pull/53) - [@blimmer](https://redirect.github.com/blimmer) made their first contribution in [https://github.com/oven-sh/setup-bun/pull/52](https://redirect.github.com/oven-sh/setup-bun/pull/52) - [@starsep](https://redirect.github.com/starsep) made their first contribution in [https://github.com/oven-sh/setup-bun/pull/57](https://redirect.github.com/oven-sh/setup-bun/pull/57) - [@andyexeter](https://redirect.github.com/andyexeter) made their first contribution in [https://github.com/oven-sh/setup-bun/pull/60](https://redirect.github.com/oven-sh/setup-bun/pull/60) - [@maschwenk](https://redirect.github.com/maschwenk) made their first contribution in [https://github.com/oven-sh/setup-bun/pull/58](https://redirect.github.com/oven-sh/setup-bun/pull/58) **Full Changelog**: https://github.com/oven-sh/setup-bun/compare/v1...v1.2.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.