File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -4199,10 +4199,10 @@ async function checkStackQL () {
41994199 ignoreReturnCode : true
42004200 } ;
42014201 const exitCode = await exec ( pathToCLI , args , options ) ;
4202- console . log ( `StackQL exited with code ${ exitCode } .` ) ;
4203- console . log ( `stdout: ${ stdout . contents } ` ) ;
4202+ core . debug ( `StackQL exited with code ${ exitCode } .` ) ;
4203+ core . debug ( `stdout: ${ stdout . contents } ` ) ;
42044204 console . log ( `stderr: ${ stderr . contents } ` ) ;
4205- console . log ( `exitcode: ${ exitCode } ` ) ;
4205+ core . debug ( `exitcode: ${ exitCode } ` ) ;
42064206
42074207 // Set outputs, result, exitcode, and stderr
42084208 core . setOutput ( 'stdout' , stdout . contents ) ;
Original file line number Diff line number Diff line change @@ -33,13 +33,12 @@ async function checkStackQL () {
3333 const exitCode = await exec ( pathToCLI , args , options ) ;
3434 core . debug ( `StackQL exited with code ${ exitCode } .` ) ;
3535 core . debug ( `stdout: ${ stdout . contents } ` ) ;
36- console . log ( `stderr: ${ stderr . contents } ` ) ;
36+ core . debug ( `stderr: ${ stderr . contents } ` ) ;
3737 core . debug ( `exitcode: ${ exitCode } ` ) ;
3838
3939 // Set outputs, result, exitcode, and stderr
4040 core . setOutput ( 'stdout' , stdout . contents ) ;
4141 core . setOutput ( 'stderr' , stderr . contents ) ;
42- core . setOutput ( 'exitcode' , exitCode . toString ( 10 ) ) ;
4342
4443 if ( ( exitCode === 0 || exitCode === 2 ) && ! stderr . contents ) {
4544 // A exitCode of 0 is considered a success
@@ -50,5 +49,5 @@ async function checkStackQL () {
5049 }
5150
5251 // A non-zero exitCode is considered an error
53- core . setFailed ( `StackQL exited with error ${ stderr . contents } .` ) ;
52+ core . setFailed ( `StackQL exited with error: ${ stderr . contents } .` ) ;
5453} ) ( ) ;
You can’t perform that action at this time.
0 commit comments