|
|
|
@ -58,6 +58,9 @@ export class DotnetCoreInstaller {
|
|
|
|
console.log('Using cached tool');
|
|
|
|
console.log('Using cached tool');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Need to set this so that .NET Core global tools find the right locations.
|
|
|
|
|
|
|
|
core.exportVariable('DOTNET_ROOT', path.join(toolPath, '../..'));
|
|
|
|
|
|
|
|
|
|
|
|
// Prepend the tools path. instructs the agent to prepend for future tasks
|
|
|
|
// Prepend the tools path. instructs the agent to prepend for future tasks
|
|
|
|
core.addPath(toolPath);
|
|
|
|
core.addPath(toolPath);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -171,6 +174,7 @@ export class DotnetCoreInstaller {
|
|
|
|
this.version,
|
|
|
|
this.version,
|
|
|
|
this.arch
|
|
|
|
this.arch
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
console.log('Successfully installed', this.version);
|
|
|
|
console.log('Successfully installed', this.version);
|
|
|
|
return cachedDir;
|
|
|
|
return cachedDir;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|