diff --git a/dist/index.js b/dist/index.js index ab82125..7ba0702 100644 --- a/dist/index.js +++ b/dist/index.js @@ -301,6 +301,10 @@ class DotnetCoreInstaller { } installDotnet() { return __awaiter(this, void 0, void 0, function* () { + const dotnetInstallDir = process.env['DOTNET_INSTALL_DIR']; + if (dotnetInstallDir) { + core.debug(`DOTNET_INSTALL_DIR is set up to ${dotnetInstallDir}`); + } const windowsDefaultOptions = [ '-NoLogo', '-Sta', diff --git a/src/installer.ts b/src/installer.ts index dc3c275..ecae01d 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -170,6 +170,10 @@ export class DotnetCoreInstaller { } public async installDotnet(): Promise { + const dotnetInstallDir = process.env['DOTNET_INSTALL_DIR']; + if (dotnetInstallDir) { + core.debug(`DOTNET_INSTALL_DIR is set up to ${dotnetInstallDir}`); + } const windowsDefaultOptions = [ '-NoLogo', '-Sta',