feat: v2 (#82)

Co-authored-by: crowlkats <crowlkats@toaxl.com>
This commit is contained in:
Luca Casonato 2024-10-09 09:37:44 +01:00 committed by GitHub
parent 5e01c016a8
commit 4606d5cc6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 6 deletions

View File

@ -7,7 +7,7 @@ branding:
inputs:
deno-version:
description: 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.
default: "1.x"
default: "2.x"
deno-version-file:
description: File containing the Deno version to install such as .dvmrc or .tool-versions.
deno-binary-name:
@ -16,8 +16,6 @@ inputs:
outputs:
deno-version:
description: "The Deno version that was installed."
is-canary:
description: "If the installed Deno version was a canary version."
release-channel:
description: "The release channel of the installed version."
runs:

View File

@ -39,8 +39,6 @@ async function main() {
await install(version);
core.setOutput("deno-version", version.version);
// TODO(@crowlKats): remove in 2.0
core.setOutput("is-canary", version.kind === "canary");
core.setOutput("release-channel", version.kind);
core.info("Installation complete.");

View File

@ -1,7 +1,7 @@
{
"name": "setup-deno",
"description": "Set up Deno easially in GitHub Actions",
"version": "1.5.1",
"version": "2.0.0",
"author": "Deno Land Inc",
"license": "MIT",
"type": "module",