exec:"pwsh":在%PATH%中找不到可执行文件
我一直在尝试在 gitlab CI/CD 上为演示项目启动我的管道。我已经在我的 Windows 本地机器上安装了 gitlab-runner,并将执行程序类型指定为“Shell”。我已经成功地将 gitlab-runner 与我的 gitlab 项目集成在一起。但是,每当我将任何更改推送到 repo 时,管道都会启动并最终在 %PATH 错误中找不到“pshw”。
这是我每次都会遇到的错误
ERROR: Job failed (system failure): prepare environment: failed to start process: exec: "pwsh": executable file not found in %PATH%. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information
任何人都可以帮助我解决这个问题并解释我收到此错误的原因和原因。
提前致谢