1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-go synced 2025-06-08 19:48:21 +02:00
This commit is contained in:
Bryan MacFarlane 2020-02-09 22:42:10 -05:00
parent a6a701e18e
commit 7ea80d8e5f
2 changed files with 4 additions and 4 deletions

View file

@ -27,13 +27,13 @@ export async function run() {
`A version satisfying ${versionSpec} not found locally, attempting to download ...`
);
installDir = await installer.downloadGo(versionSpec, stable);
console.log('installed');
console.log('Installed');
}
if (installDir) {
core.exportVariable('GOROOT', installDir);
core.addPath(path.join(installDir, 'bin'));
console.log('added to the path');
console.log('Added go to the path');
} else {
throw new Error(
`Could not find a version that satisfied version spec: ${versionSpec}`