ChristopheLav / iis-deploy

A Github Action that allow to deploy a website on IIS
MIT License
14 stars 6 forks source link

pwsh command not found - issue #5

Closed sesa740202 closed 7 months ago

sesa740202 commented 7 months ago

we have implemented in this task in our Github action worklfows but we are getting below error

website-name: Parallel-OS-Env msdeploy-service-url: msdeploy-username: msdeploy-password: * source-path: D:\xxxxxxxxxxxxxxxxx\bin Run D:\axxxxxx./.github/actions/iis-deploy/scripts/PublishAspNet5Website.ps1 D:\actions-runner_work*****\bin Parallel-OS-Env D:\actions-runner_work\xxxxx./.github/actions/iis-deploy/scripts/PublishAspNet5Website.ps1 D:\actions-runner_work\xxxxx\bin Parallel-OS-Env *** Error: pwsh: command not found

please help us on this issue. In our selfhosted runner powershell command is working fine , we tested as well.

sesa740202 commented 7 months ago

issue resolved . pwsh not working in my runner and we changed powershell in runner then issues was resolved

thanks for your support

sesa740202 commented 7 months ago

done