File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1318,6 +1318,10 @@ function run() {
13181318 // add problem matchers
13191319 const matchersPath = path_1 . default . join ( __dirname , '..' , 'matchers.json' ) ;
13201320 console . log ( `##[add-matcher]${ matchersPath } ` ) ;
1321+ // output the version actually being used
1322+ let goPath = yield io . which ( 'go' ) ;
1323+ let goVersion = child_process_1 . default . execSync ( `${ goPath } version` ) ;
1324+ console . log ( 'Using go version ' ) ;
13211325 }
13221326 catch ( error ) {
13231327 core . setFailed ( error . message ) ;
Original file line number Diff line number Diff line change @@ -50,6 +50,12 @@ export async function run() {
5050 // add problem matchers
5151 const matchersPath = path . join ( __dirname , '..' , 'matchers.json' ) ;
5252 console . log ( `##[add-matcher]${ matchersPath } ` ) ;
53+
54+ // output the version actually being used
55+ let goPath = await io . which ( 'go' ) ;
56+ let goVersion = cp . execSync ( `${ goPath } version` ) ;
57+
58+ console . log ( 'Using go version ' ) ;
5359 } catch ( error ) {
5460 core . setFailed ( error . message ) ;
5561 }
You can’t perform that action at this time.
0 commit comments