mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-23 10:40:10 +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
|
## Usage
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
with:
|
with:
|
||||||
bun-version: latest
|
bun-version: latest
|
||||||
```
|
```
|
||||||
@ -13,7 +13,7 @@ Download, install, and setup [Bun](https://bun.sh) in GitHub Actions.
|
|||||||
## Using version file
|
## Using version file
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
with:
|
with:
|
||||||
bun-version-file: ".bumrc"
|
bun-version-file: ".bumrc"
|
||||||
```
|
```
|
||||||
@ -21,7 +21,7 @@ Download, install, and setup [Bun](https://bun.sh) in GitHub Actions.
|
|||||||
### Using a custom NPM registry
|
### Using a custom NPM registry
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
with:
|
with:
|
||||||
registry-url: "https://npm.pkg.github.com/"
|
registry-url: "https://npm.pkg.github.com/"
|
||||||
scope: "@foo"
|
scope: "@foo"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user