mirror of
https://github.com/actions/setup-go.git
synced 2024-11-15 11:54:34 +08:00
output version of go it resolved to
This commit is contained in:
parent
cec6ecefb4
commit
f32657ccaf
@ -55,7 +55,7 @@ export async function run() {
|
||||
let goPath = await io.which('go');
|
||||
let goVersion = cp.execSync(`${goPath} version`);
|
||||
|
||||
console.log('Using go version ');
|
||||
console.log(goVersion);
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user