Skip to content

Commit a764041

Browse files
committed
Stop using deprecated core.setOutput
Fix #15
1 parent f1a3c07 commit a764041

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

index.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,11 @@ async function install_cpm(install_to) {
3131
const version = core.getInput("version");
3232
const url = `https://raw.githubusercontent.com/skaji/cpm/${version}/cpm`;
3333

34-
core.setOutput(`Get cpm from ${url}`);
34+
console.log(`Get cpm from URL: ${url}`);
3535

3636
const cpmScript = await tc.downloadTool(url);
3737

38-
core.setOutput("cpm", cpmScript);
39-
40-
console.log(`install_to ${install_to}`);
38+
console.log(`Installing cpm to: ${install_to}`);
4139

4240
const platform = os.platform();
4341
//console.log(`OS: :${platform}:`);

0 commit comments

Comments
 (0)