1
0
Fork 0
mirror of https://github.com/actions/setup-go synced 2024-11-09 23:22:41 +00:00

output version of go it resolved to

This commit is contained in:
Bryan MacFarlane 2020-03-31 10:37:33 -04:00
parent cec6ecefb4
commit f32657ccaf

View file

@ -55,7 +55,7 @@ export async function run() {
let goPath = await io.which('go'); let goPath = await io.which('go');
let goVersion = cp.execSync(`${goPath} version`); let goVersion = cp.execSync(`${goPath} version`);
console.log('Using go version '); console.log(goVersion);
} catch (error) { } catch (error) {
core.setFailed(error.message); core.setFailed(error.message);
} }