mirror of
https://gitea.com/actions/setup-deno.git
synced 2025-12-15 04:46:42 +00:00
feat: add .tool-versions and .dvmrc support (#61)
--------- Signed-off-by: Jesse Dijkstra <mail@jessedijkstra.nl> Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
This commit is contained in:
14
README.md
14
README.md
@@ -4,6 +4,20 @@ Set up your GitHub Actions workflow with a specific version of Deno.
|
||||
|
||||
## Usage
|
||||
|
||||
### Version from file
|
||||
|
||||
```yaml
|
||||
- uses: denoland/setup-deno@v1
|
||||
with:
|
||||
deno-version-file: .dvmrc
|
||||
```
|
||||
|
||||
```yaml
|
||||
- uses: denoland/setup-deno@v1
|
||||
with:
|
||||
deno-version-file: .tool-versions
|
||||
```
|
||||
|
||||
### Latest stable for a major
|
||||
|
||||
```yaml
|
||||
|
||||
Reference in New Issue
Block a user