From bf9076a38f6328db9249fe08dba960fabcd8a996 Mon Sep 17 00:00:00 2001 From: crowlkats Date: Wed, 2 Oct 2024 04:53:49 +0200 Subject: [PATCH 1/4] feat: v2 --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 1ce03fcd..c1415e0f 100644 --- a/action.yml +++ b/action.yml @@ -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: From 99068780c02b9ec6992177df87d64f4ae2f87607 Mon Sep 17 00:00:00 2001 From: crowlkats Date: Wed, 2 Oct 2024 05:11:24 +0200 Subject: [PATCH 2/4] bump package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cdeb6982..cb0d4cd3 100644 --- a/package.json +++ b/package.json @@ -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", From 6dfd9dfb5b28e01b26889a167d2c18f0a9c2d398 Mon Sep 17 00:00:00 2001 From: crowlkats Date: Wed, 2 Oct 2024 05:15:01 +0200 Subject: [PATCH 3/4] remove is-canary output --- main.mjs | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.mjs b/main.mjs index 4810805f..9e59fd89 100644 --- a/main.mjs +++ b/main.mjs @@ -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."); From 8e5c22f9bca7733d3d57f400960f7bdcd81fc1c7 Mon Sep 17 00:00:00 2001 From: crowlkats Date: Wed, 2 Oct 2024 05:16:31 +0200 Subject: [PATCH 4/4] fix --- action.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/action.yml b/action.yml index c1415e0f..831ef21e 100644 --- a/action.yml +++ b/action.yml @@ -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: