mirror of
https://gitea.com/actions/setup-deno.git
synced 2025-12-10 18:36:42 +00:00
usage in readme
This commit is contained in:
44
README.md
44
README.md
@@ -1,3 +1,45 @@
|
||||
# setup-deno
|
||||
|
||||
Set up your GitHub Actions workflow with a specific version of Deno
|
||||
Set up your GitHub Actions workflow with a specific version of Deno.
|
||||
|
||||
## Usage
|
||||
|
||||
### Latest stable
|
||||
|
||||
```yaml
|
||||
- uses: denoland/setup-deno@v1
|
||||
with:
|
||||
deno-version: v1.x
|
||||
```
|
||||
|
||||
### Specific stable
|
||||
|
||||
```yaml
|
||||
- uses: denoland/setup-deno@v1
|
||||
with:
|
||||
deno-version: "1.8.2"
|
||||
```
|
||||
|
||||
### Semver range
|
||||
|
||||
```yaml
|
||||
- uses: denoland/setup-deno@v1
|
||||
with:
|
||||
deno-version: "~1.7"
|
||||
```
|
||||
|
||||
### Latest canary
|
||||
|
||||
```yaml
|
||||
- uses: denoland/setup-deno@v1
|
||||
with:
|
||||
deno-version: canary
|
||||
```
|
||||
|
||||
### Specific canary
|
||||
|
||||
```yaml
|
||||
- uses: denoland/setup-deno@v1
|
||||
with:
|
||||
deno-version: e7b7129b7a92b7500ded88f8f5baa25a7f59e56e
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user