1
0
Files
setup-deno/action.yml
T

33 lines
1.2 KiB
YAML
Raw Normal View History

2021-05-18 23:53:14 +02:00
name: "Setup Deno"
description: "Setup Deno by installing, downloading, and adding it to the path."
2021-04-10 02:16:12 +02:00
author: "Deno Land"
2021-05-18 23:53:14 +02:00
branding:
icon: "play-circle"
color: "gray-dark"
2021-04-10 02:16:12 +02:00
inputs:
2021-04-10 02:20:00 +02:00
deno-version:
2025-05-12 18:23:36 +02:00
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.
2024-10-09 09:37:44 +01:00
default: "2.x"
deno-version-file:
description: File containing the Deno version to install such as .dvmrc or .tool-versions.
2024-09-12 03:46:45 -07:00
deno-binary-name:
description: The name to use for the binary.
default: "deno"
2025-05-12 18:53:44 +02:00
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.
2021-04-10 02:16:12 +02:00
outputs:
2025-05-12 18:53:44 +02:00
cache-hit:
description: A boolean indicating whether the cache was hit.
2021-04-10 02:20:00 +02:00
deno-version:
2021-04-10 02:16:12 +02:00
description: "The Deno version that was installed."
2024-09-13 07:41:34 -07:00
release-channel:
description: "The release channel of the installed version."
2021-04-10 02:16:12 +02:00
runs:
using: "node24"
main: "dist/main.mjs"
2025-05-12 18:53:44 +02:00
post: "dist/post.mjs"
post-if: always()