mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-18 14:45:09 +00:00
Rebuild action
This commit is contained in:
parent
2fb974523e
commit
cf1d9cb755
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -335,8 +335,7 @@ class DotnetCoreInstaller {
|
|||||||
}
|
}
|
||||||
scriptArguments.push(`-InstallDir '${DotnetCoreInstaller.installationDirectoryWindows}'`);
|
scriptArguments.push(`-InstallDir '${DotnetCoreInstaller.installationDirectoryWindows}'`);
|
||||||
// process.env must be explicitly passed in for DOTNET_INSTALL_DIR to be used
|
// process.env must be explicitly passed in for DOTNET_INSTALL_DIR to be used
|
||||||
scriptPath =
|
scriptPath = yield io.which('powershell', true);
|
||||||
(yield io.which('powershell', false)) || (yield io.which('pwsh', true));
|
|
||||||
scriptArguments = [...windowsDefaultOptions, scriptArguments.join(' ')];
|
scriptArguments = [...windowsDefaultOptions, scriptArguments.join(' ')];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user