You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 15, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+22-2Lines changed: 22 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,17 +7,37 @@
7
7
Based on `denoland/setup-deno@v1`, & `actions/cache@v3`, handles `DENO_DIR` and caching for you.\
8
8
Works on Ubuntu, macOS & Windows runners.
9
9
10
+
### Usage
11
+
12
+
#### Basic:
13
+
14
+
```yaml
15
+
- uses: nekowinston/setup-deno@v1
16
+
```
17
+
18
+
#### All options:
19
+
20
+
```yaml
21
+
- uses: nekowinston/setup-deno@v1
22
+
with:
23
+
deno-version: "~1.38"
24
+
deno-json-path: ./subdirectory/deno.json
25
+
deno-lock-path: ./subdirectory/deno.lock
26
+
directory: ./subdirectory
27
+
```
28
+
10
29
### Inputs
11
30
- `deno-version`:\
12
-
The Deno version to install. Can be a semver version of a stable release, `'canary'` for the latest canary, or the Git hash of a specific canary release.
31
+
The Deno version to install. Can be a semver version of a stable release, `'canary'` for the latest canary, or the Git hash of a specific canary release.\
32
+
See [`setup-deno`](https://github.com/marketplace/actions/setup-deno) for examples.\
13
33
Defaults to `1.x`.
14
34
- `deno-json-path`:\
15
35
The path to the Deno config file to use for caching.\
16
36
Defaults to an empty string, using the built-in CLI default.
17
37
- `deno-lock-path`:\
18
38
The path to the lock file to use for caching.\
19
39
Defaults to `./deno.lock`.
20
-
-`scripts-dir`:\
40
+
- `directory`:\
21
41
The path to the scripts to cache. This can be useful if Deno is only part of your repo, and stored in a subdirectory.\
0 commit comments