Hello
How can I use PowerShell on my self hosted runners on macOS ? I already have all my CI written in PowerShell because there was no way to use bash on Windows.
Apparently I can pass a runtime to the runner.jar, but when I pass windows-powershell on mac, it doesn't find git in the path. Although I added it to my powershell profile.
[2022-10-12 15:43:24,146] Runner version: 1.369
[2022-10-12 15:43:24,161] Runner runtime: windows-powershell
Exception in thread "main" com.atlassian.pipelines.runner.core.exception.PrerequisiteFailedRunnerException: git executable not found in PATH.
[2022-10-12 15:43:25,035] Updating runner state to "OFFLINE".
[2022-10-12 15:43:26,185] Shutdown completed
I can't find any documentation on this, but I hope Atlassian is not expecting their user to write and maintain their CI scripts in both PS and SH scripts surely ?