mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-22 17:50:13 +08:00
docs: use v2 version
This commit is contained in:
parent
ef00e4ac8e
commit
123c6c4e2f
@ -5,7 +5,7 @@ Download, install, and setup [Bun](https://bun.sh) in GitHub Actions.
|
||||
## Usage
|
||||
|
||||
```yaml
|
||||
- uses: oven-sh/setup-bun@v1
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
```
|
||||
@ -13,7 +13,7 @@ Download, install, and setup [Bun](https://bun.sh) in GitHub Actions.
|
||||
## Using version file
|
||||
|
||||
```yaml
|
||||
- uses: oven-sh/setup-bun@v1
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version-file: ".bumrc"
|
||||
```
|
||||
@ -21,7 +21,7 @@ Download, install, and setup [Bun](https://bun.sh) in GitHub Actions.
|
||||
### Using a custom NPM registry
|
||||
|
||||
```yaml
|
||||
- uses: oven-sh/setup-bun@v1
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
registry-url: "https://npm.pkg.github.com/"
|
||||
scope: "@foo"
|
||||
|
Loading…
x
Reference in New Issue
Block a user