mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-04-02 01:30:17 +08:00
Document usage of action downloads
This commit is contained in:
parent
157143337b
commit
13974bf408
12
README.md
12
README.md
@ -4,7 +4,7 @@ Download, install, and setup [Bun](https://bun.sh) in GitHub Actions.
|
||||
|
||||
## Usage
|
||||
|
||||
### Stable release
|
||||
### Latest release
|
||||
|
||||
```yaml
|
||||
- uses: oven-sh/setup-bun@v1
|
||||
@ -36,7 +36,15 @@ Download, install, and setup [Bun](https://bun.sh) in GitHub Actions.
|
||||
bun-version: 9be68ac2350b965037f408ce4d47c3b9d9a76b63
|
||||
```
|
||||
|
||||
### Custom Download URL
|
||||
### Action run
|
||||
|
||||
```yaml
|
||||
- uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: "action:4308768069"
|
||||
```
|
||||
|
||||
### Custom download URL
|
||||
|
||||
```yaml
|
||||
- uses: oven-sh/setup-bun@v1
|
||||
|
@ -6,7 +6,7 @@ branding:
|
||||
color: white
|
||||
inputs:
|
||||
bun-version:
|
||||
description: 'The version of Bun to install. (e.g. "latest", "canary", "0.5.6", <git-sha>)'
|
||||
description: 'The version of Bun to install. (e.g. "latest", "canary", "0.5.6", <sha>)'
|
||||
default: latest
|
||||
required: false
|
||||
outputs:
|
||||
|
Loading…
x
Reference in New Issue
Block a user