File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -31,16 +31,13 @@ async function install_cpm(install_to) {
31
31
const version = core . getInput ( "version" ) ;
32
32
const url = `https://raw.githubusercontent.com/skaji/cpm/${ version } /cpm` ;
33
33
34
- core . info ( `Get cpm from ${ url } ` ) ;
34
+ core . info ( `Get cpm from URL: ${ url } ` ) ;
35
35
36
36
const cpmScript = await tc . downloadTool ( url ) ;
37
37
38
- core . info ( "cpm" , cpmScript ) ;
39
-
40
- core . info ( `install_to ${ install_to } ` ) ;
38
+ core . info ( `Install cpm to: ${ install_to } ` ) ;
41
39
42
40
const platform = os . platform ( ) ;
43
- //core.info(`OS: :${platform}:`);
44
41
45
42
if ( platform == "win32" ) {
46
43
await io . cp ( cpmScript , install_to ) ;
@@ -52,8 +49,6 @@ async function install_cpm(install_to) {
52
49
`cp("${ cpmScript } ", "${ install_to } "); chmod(0755, "${ install_to } ")` ,
53
50
] ) ;
54
51
}
55
- //await io.cp(cpmScript, install_to); /* need to run with sudo */
56
- //await ioUtil.chmod(install_to, '0755')
57
52
58
53
return install_to ;
59
54
}
You can’t perform that action at this time.
0 commit comments