I use a self-hosted macOS runner where powershell was not installed by default. After installing powershell with brew I get a failure that the script fails to run because powershell can't be found; it's instead pwsh. Creating a simple alias in my normal shell for powershell to pwsh didn't seem to be enough. Could this action search for whether the system has PS available as powershell or pwsh?
I use a self-hosted macOS runner where powershell was not installed by default. After installing powershell with brew I get a failure that the script fails to run because
powershellcan't be found; it's insteadpwsh. Creating a simple alias in my normal shell forpowershelltopwshdidn't seem to be enough. Could this action search for whether the system has PS available aspowershellorpwsh?