From cf1d9cb755ce1d279cad623f09efbd6c161ebe76 Mon Sep 17 00:00:00 2001 From: IvanZosimov Date: Thu, 22 Sep 2022 15:36:49 +0200 Subject: [PATCH] Rebuild action --- dist/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index e7b21ab..74f102d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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 {