forked from denoland/setup-deno
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
32 lines (32 loc) · 1.16 KB
/
action.yml
File metadata and controls
32 lines (32 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: "Setup Deno"
description: "Setup Deno by installing, downloading, and adding it to the path."
author: "Deno Land"
branding:
icon: "play-circle"
color: "gray-dark"
inputs:
deno-version:
description: The Deno version to install. Can be a semver version of a stable release, "canary" for the latest canary, "lts" for the latest LTS, or the Git hash of a specific canary release.
default: "2.x"
deno-version-file:
description: File containing the Deno version to install such as .dvmrc or .tool-versions.
deno-binary-name:
description: The name to use for the binary.
default: "deno"
cache:
description: Cache downloaded modules & packages automatically in GitHub Actions cache.
default: "false"
cache-hash:
description: A hash used as part of the cache key, which defaults to a hash of the deno.lock files.
outputs:
cache-hit:
description: A boolean indicating whether the cache was hit.
deno-version:
description: "The Deno version that was installed."
release-channel:
description: "The release channel of the installed version."
runs:
using: "node20"
main: "dist/main.mjs"
post: "dist/post.mjs"
post-if: always()