Call addToPath method on DotnetInstallDir directly
This commit is contained in:
1 parent
defac2491f
commit
89b480a0df
3 files changed
+3
-6
No files matched your search
Vendored
+1
-2
@@ -463,7 +463,6 @@ class DotnetCoreInstaller {
|
||||
}
|
||||
}
|
||||
exports.DotnetCoreInstaller = DotnetCoreInstaller;
|
||||
DotnetCoreInstaller.addToPath = DotnetInstallDir.addToPath;
|
||||
(() => {
|
||||
DotnetInstallDir.setEnvironmentVariable();
|
||||
})();
|
||||
@@ -571,7 +570,7 @@ function run() {
|
||||
const installedVersion = yield dotnetInstaller.installDotnet();
|
||||
installedDotnetVersions.push(installedVersion);
|
||||
}
|
||||
installer_1.DotnetCoreInstaller.addToPath();
|
||||
installer_1.DotnetInstallDir.addToPath();
|
||||
}
|
||||
const sourceUrl = core.getInput('source-url');
|
||||
const configFile = core.getInput('config-file');
|
||||
|
||||
Reference in new issue
Block a user