mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-23 00:50:19 +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() {
|
installDotnet() {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
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 = [
|
const windowsDefaultOptions = [
|
||||||
'-NoLogo',
|
'-NoLogo',
|
||||||
'-Sta',
|
'-Sta',
|
||||||
|
@ -170,6 +170,10 @@ export class DotnetCoreInstaller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public async installDotnet(): Promise<string> {
|
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 = [
|
const windowsDefaultOptions = [
|
||||||
'-NoLogo',
|
'-NoLogo',
|
||||||
'-Sta',
|
'-Sta',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user