mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-18 14:45:09 +00:00
Output DOTNET_INSTALL_DIR if present
This commit is contained in:
parent
b4e0d356f9
commit
0949c87857
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -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',
|
||||
|
@ -170,6 +170,10 @@ export class DotnetCoreInstaller {
|
||||
}
|
||||
|
||||
public async installDotnet(): Promise<string> {
|
||||
const dotnetInstallDir = process.env['DOTNET_INSTALL_DIR'];
|
||||
if (dotnetInstallDir) {
|
||||
core.debug(`DOTNET_INSTALL_DIR is set up to ${dotnetInstallDir}`);
|
||||
}
|
||||
const windowsDefaultOptions = [
|
||||
'-NoLogo',
|
||||
'-Sta',
|
||||
|
Loading…
x
Reference in New Issue
Block a user