File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -1322,6 +1322,10 @@ function run() {
13221322 let goPath = yield io . which ( 'go' ) ;
13231323 let goVersion = ( child_process_1 . default . execSync ( `${ goPath } version` ) || '' ) . toString ( ) ;
13241324 console . log ( goVersion ) ;
1325+ core . startGroup ( 'go env' ) ;
1326+ let goEnv = ( child_process_1 . default . execSync ( `${ goPath } env` ) || '' ) . toString ( ) ;
1327+ console . log ( goEnv ) ;
1328+ core . endGroup ( ) ;
13251329 }
13261330 catch ( error ) {
13271331 core . setFailed ( error . message ) ;
Original file line number Diff line number Diff line change @@ -54,8 +54,12 @@ export async function run() {
5454 // output the version actually being used
5555 let goPath = await io . which ( 'go' ) ;
5656 let goVersion = ( cp . execSync ( `${ goPath } version` ) || '' ) . toString ( ) ;
57-
5857 console . log ( goVersion ) ;
58+
59+ core . startGroup ( 'go env' ) ;
60+ let goEnv = ( cp . execSync ( `${ goPath } env` ) || '' ) . toString ( ) ;
61+ console . log ( goEnv ) ;
62+ core . endGroup ( ) ;
5963 } catch ( error ) {
6064 core . setFailed ( error . message ) ;
6165 }
You can’t perform that action at this time.
0 commit comments