Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
27a94d6f80 | ||
|
|
b0a04f5fb3 | ||
|
|
ddba6331f8 | ||
|
|
99221c1ae0 | ||
|
|
13923243f4 |
11
README.md
11
README.md
@@ -8,23 +8,26 @@ Set up your GitHub Actions workflow with a specific version of Bun.
|
||||
### Latest stable
|
||||
|
||||
```yaml
|
||||
- uses: xhyrom/setup-bun@v0.1.3
|
||||
- uses: xhyrom/setup-bun@v0.1.6
|
||||
with:
|
||||
bun-version: latest
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
|
||||
### Specific version
|
||||
|
||||
```yaml
|
||||
- uses: xhyrom/setup-bun@v0.1.3
|
||||
- uses: xhyrom/setup-bun@v0.1.6
|
||||
with:
|
||||
bun-version: "0.1.3"
|
||||
bun-version: "0.1.5"
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
|
||||
### Canary builds
|
||||
|
||||
```yaml
|
||||
- uses: xhyrom/setup-bun@v0.1.3
|
||||
- uses: xhyrom/setup-bun@v0.1.6
|
||||
with:
|
||||
bun-version: canary
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
|
||||
@@ -12,6 +12,7 @@ inputs:
|
||||
default: "latest"
|
||||
github-token:
|
||||
description: "The github token secret can be passed in using {{ secrets.GITHUB_TOKEN }}"
|
||||
default: ${{ github.token }}
|
||||
misc-test-builds:
|
||||
description: "Install builds from https://github.com/oven-sh/misc-test-builds (not recommended!)"
|
||||
required: false
|
||||
@@ -22,4 +23,4 @@ outputs:
|
||||
|
||||
runs:
|
||||
using: "node12"
|
||||
main: "dist/index.js"
|
||||
main: "dist/index.js"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.1.5",
|
||||
"version": "0.1.6",
|
||||
"name": "setup-bun",
|
||||
"main": "dist/index.js",
|
||||
"type": "module",
|
||||
|
||||
Reference in New Issue
Block a user