We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fdcb9b commit 75899f8Copy full SHA for 75899f8
src/main.ts
@@ -62,10 +62,14 @@ export async function run() {
62
function addBinToPath(): boolean {
63
let added = false;
64
let buf = cp.execSync('go env GOPATH');
65
+
66
if (buf) {
67
let d = buf.toString().trim();
68
+ core.debug(`go env GOPATH: ${d}`);
69
let bp = path.join(d, 'bin');
70
71
if (fs.existsSync(bp)) {
72
+ core.debug(`${bp} exists`);
73
core.addPath(bp);
74
added = true;
75
}
0 commit comments