setup-bun/README.md

34 lines
593 B
Markdown
Raw Normal View History

2022-07-11 10:18:22 +02:00
# setup-bun
> Huge inspiration [setup-deno](https://github.com/denoland/setup-deno)
Set up your GitHub Actions workflow with a specific version of Bun.
## Usage
### Latest stable
```yaml
2022-07-13 09:42:16 +02:00
- uses: xhyrom/setup-bun@v0.1.3
2022-07-11 10:18:22 +02:00
with:
bun-version: latest
2022-07-26 07:29:31 +02:00
github-token: ${{ secrets.GITHUB_TOKEN }}
2022-07-11 10:18:22 +02:00
```
### Specific version
```yaml
2022-07-13 09:42:16 +02:00
- uses: xhyrom/setup-bun@v0.1.3
2022-07-11 10:18:22 +02:00
with:
2022-07-12 09:59:54 +02:00
bun-version: "0.1.3"
2022-07-26 07:29:31 +02:00
github-token: ${{ secrets.GITHUB_TOKEN }}
2022-07-11 17:00:34 +02:00
```
2022-07-13 09:42:54 +02:00
2022-07-25 22:31:43 +02:00
### Canary builds
2022-07-13 09:42:54 +02:00
```yaml
- uses: xhyrom/setup-bun@v0.1.3
with:
2022-07-25 22:31:43 +02:00
bun-version: canary
2022-07-26 07:29:31 +02:00
github-token: ${{ secrets.GITHUB_TOKEN }}
2022-07-13 09:42:54 +02:00
```