From 6c841781acd86f20a2a7dbdde35f28926ec61b60 Mon Sep 17 00:00:00 2001 From: Nicolas R Date: Tue, 2 Jan 2024 14:22:34 -0700 Subject: [PATCH] Stop using deprecated core.setOutput --- index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index f9f4b9b..5a53a75 100644 --- a/index.js +++ b/index.js @@ -31,13 +31,11 @@ async function install_cpm(install_to) { const version = core.getInput("version"); const url = `https://raw.githubusercontent.com/skaji/cpm/${version}/cpm`; - core.setOutput(`Get cpm from ${url}`); + console.log(`Get cpm from URL: ${url}`); const cpmScript = await tc.downloadTool(url); - core.setOutput("cpm", cpmScript); - - console.log(`install_to ${install_to}`); + console.log(`Installing cpm to: ${install_to}`); const platform = os.platform(); //console.log(`OS: :${platform}:`);