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() {
1322
1322
let goPath = yield io . which ( 'go' ) ;
1323
1323
let goVersion = ( child_process_1 . default . execSync ( `${ goPath } version` ) || '' ) . toString ( ) ;
1324
1324
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 ( ) ;
1325
1329
}
1326
1330
catch ( error ) {
1327
1331
core . setFailed ( error . message ) ;
Original file line number Diff line number Diff line change @@ -54,8 +54,12 @@ export async function run() {
54
54
// output the version actually being used
55
55
let goPath = await io . which ( 'go' ) ;
56
56
let goVersion = ( cp . execSync ( `${ goPath } version` ) || '' ) . toString ( ) ;
57
-
58
57
console . log ( goVersion ) ;
58
+
59
+ core . startGroup ( 'go env' ) ;
60
+ let goEnv = ( cp . execSync ( `${ goPath } env` ) || '' ) . toString ( ) ;
61
+ console . log ( goEnv ) ;
62
+ core . endGroup ( ) ;
59
63
} catch ( error ) {
60
64
core . setFailed ( error . message ) ;
61
65
}
You can’t perform that action at this time.
0 commit comments