Set up your GitHub Actions workflow with a specific version of Bun
MIT License
Bot releases are visible (Hide)
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 (https://github.com/oven-sh/setup-bun/pull/90) thanks to @Araxeus
Full Changelog: https://github.com/oven-sh/setup-bun/compare/v1...v2
Published by xHyroM 4 months ago
oven-sh/setup-bun
is the github action for setting up Bun.
This release introduces support for the bun-version-file
option, fixes https://github.com/oven-sh/setup-bun/issues/79, and adds bun paths & urls to the output (https://github.com/oven-sh/setup-bun/issues/81)
For more information, see https://github.com/oven-sh/setup-bun/pull/76 by @adeherysh and https://github.com/oven-sh/setup-bun/pull/80 by @xHyroM 🎉
Full Changelog: https://github.com/oven-sh/setup-bun/compare/v1...v2
Published by Jarred-Sumner 5 months ago
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/[email protected]
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"
Published by xHyroM 7 months ago
v1.2.1
Download, install, and setup Bun in GitHub Actions.
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- 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
In most cases, you shouldn't need to use the setup-node GitHub Action.
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
|
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 |
Full Changelog: https://github.com/oven-sh/setup-bun/compare/v1.2.0...v1.2.1
Published by xHyroM 8 months ago
v1.2.0
Download, install, and setup Bun in GitHub Actions.
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- 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
In most cases, you shouldn't need to use the setup-node GitHub Action.
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
|
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 |
Full Changelog: https://github.com/oven-sh/setup-bun/compare/v1...v1.2.0
Published by xHyroM 11 months ago
v1.1.0
Download, install, and setup Bun in GitHub Actions.
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- 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
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"
|
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 |
Full Changelog: https://github.com/oven-sh/setup-bun/compare/v1.1.0...v1.1.1
Published by xHyroM 11 months ago
v1.1.0
Download, install, and setup Bun in GitHub Actions.
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- 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
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"
|
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 |
Published by Electroid over 1 year ago
v1
Download, install, and setup Bun in GitHub Actions.
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- uses: oven-sh/setup-bun@v1
with:
bun-version: "0.5.6"
- uses: oven-sh/setup-bun@v1
with:
bun-version: canary
- uses: oven-sh/setup-bun@v1
with:
bun-version: 9be68ac2350b965037f408ce4d47c3b9d9a76b63
- uses: oven-sh/setup-bun@v1
with:
bun-version: "action:4308768069"
- uses: oven-sh/setup-bun@v1
with:
bun-download-url: https://example.com/path/to/bun.zip
Published by xHyroM almost 2 years ago
Update dependencies, node
Full Changelog: https://github.com/xHyroM/setup-bun/compare/v0.1.7...v0.1.8
Published by xHyroM about 2 years ago
Full Changelog: https://github.com/xHyroM/setup-bun/compare/v0.1.6...v0.1.7
Support for repository
& custom-download-url
inputs
Check README and workflow
Published by xHyroM about 2 years ago
Full Changelog: https://github.com/xHyroM/setup-bun/compare/v0.1.5...v0.1.6
Set ${{ github.token }}
as default for github-token
Published by xHyroM about 2 years ago
Full Changelog: https://github.com/xHyroM/setup-bun/compare/v0.1.4...v0.1.5
Support for canary builds
Published by xHyroM over 2 years ago
Full Changelog: https://github.com/xHyroM/setup-bun/compare/v0.1.3...v0.1.4
Published by xHyroM over 2 years ago
Ability to setup new misc test builds
Full Changelog: https://github.com/xHyroM/setup-bun/compare/v0.1.2...v0.1.3
Published by xHyroM over 2 years ago
Full Changelog: https://github.com/xHyroM/setup-bun/compare/v0.1.1...v0.1.2
Published by xHyroM over 2 years ago
deno-version
to bun-version
by @autumnblazey in https://github.com/xHyroM/setup-bun/pull/3
Full Changelog: https://github.com/xHyroM/setup-bun/compare/v0.1.0...v0.1.1
Published by xHyroM over 2 years ago