mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-18 06:35: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}'`);
|
||||
// process.env must be explicitly passed in for DOTNET_INSTALL_DIR to be used
|
||||
scriptPath =
|
||||
(yield io.which('powershell', false)) || (yield io.which('pwsh', true));
|
||||
scriptPath = yield io.which('powershell', true);
|
||||
scriptArguments = [...windowsDefaultOptions, scriptArguments.join(' ')];
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user