setup-deno/README.md

46 lines
619 B
Markdown
Raw Normal View History

2021-04-10 07:39:22 +08:00
# setup-deno
2021-04-10 08:16:12 +08:00
2021-04-10 08:24:16 +08:00
Set up your GitHub Actions workflow with a specific version of Deno.
## Usage
### Latest stable
```yaml
2021-04-10 08:30:09 +08:00
- uses: denoland/setup-deno@main
2021-04-10 08:24:16 +08:00
with:
deno-version: v1.x
```
### Specific stable
```yaml
2021-04-10 08:30:09 +08:00
- uses: denoland/setup-deno@main
2021-04-10 08:24:16 +08:00
with:
deno-version: "1.8.2"
```
### Semver range
```yaml
2021-04-10 08:30:09 +08:00
- uses: denoland/setup-deno@main
2021-04-10 08:24:16 +08:00
with:
deno-version: "~1.7"
```
### Latest canary
```yaml
2021-04-10 08:30:09 +08:00
- uses: denoland/setup-deno@main
2021-04-10 08:24:16 +08:00
with:
deno-version: canary
```
### Specific canary
```yaml
2021-04-10 08:30:09 +08:00
- uses: denoland/setup-deno@main
2021-04-10 08:24:16 +08:00
with:
deno-version: e7b7129b7a92b7500ded88f8f5baa25a7f59e56e
```