Skip to content

Commit

Permalink
Stop using deprecated core.setOutput
Browse files Browse the repository at this point in the history
  • Loading branch information
atoomic committed Jan 2, 2024
1 parent f1a3c07 commit 6c84178
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}:`);
Expand Down

0 comments on commit 6c84178

Please sign in to comment.