3
0
Fork 0
mirror of https://gitea.com/actions/setup-go.git synced 2024-11-22 01:29:32 +01:00

Update dist

This commit is contained in:
Fraser Waters 2022-03-28 14:23:54 +01:00
parent 0b4fbc55f6
commit 13df686579

4
dist/index.js vendored
View file

@ -2127,12 +2127,12 @@ function addBinToPath() {
if (!fs_1.default.existsSync(gp)) {
// some of the hosted images have go install but not profile dir
core.debug(`creating ${gp}`);
io.mkdirP(gp);
yield io.mkdirP(gp);
}
let bp = path_1.default.join(gp, 'bin');
if (!fs_1.default.existsSync(bp)) {
core.debug(`creating ${bp}`);
io.mkdirP(bp);
yield io.mkdirP(bp);
}
core.addPath(bp);
added = true;