Document usage of action downloads

This commit is contained in:
Ashcon Partovi 2023-03-01 16:01:35 -08:00
parent 157143337b
commit 13974bf408
2 changed files with 11 additions and 3 deletions

View File

@ -4,7 +4,7 @@ Download, install, and setup [Bun](https://bun.sh) in GitHub Actions.
## Usage ## Usage
### Stable release ### Latest release
```yaml ```yaml
- uses: oven-sh/setup-bun@v1 - uses: oven-sh/setup-bun@v1
@ -36,7 +36,15 @@ Download, install, and setup [Bun](https://bun.sh) in GitHub Actions.
bun-version: 9be68ac2350b965037f408ce4d47c3b9d9a76b63 bun-version: 9be68ac2350b965037f408ce4d47c3b9d9a76b63
``` ```
### Custom Download URL ### Action run
```yaml
- uses: oven-sh/setup-bun@v1
with:
bun-version: "action:4308768069"
```
### Custom download URL
```yaml ```yaml
- uses: oven-sh/setup-bun@v1 - uses: oven-sh/setup-bun@v1

View File

@ -6,7 +6,7 @@ branding:
color: white color: white
inputs: inputs:
bun-version: 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 default: latest
required: false required: false
outputs: outputs: