Question:
I’m calling .\build.ps1
and it seems to hang:
https://github.com/nblockchain/ZXing.Net.Xamarin/runs/232358091
Do I need something special? In AzureDevOps this was working out of the box.
Answer:
As agreed in the comments, the solution for this issue was to specify the shell to be run in your Action file. In your case you had to change from:
1 2 3 4 |
- name: Build run: | .\build.ps1 |
to:
1 2 3 4 5 |
- name: Build shell: pwsh run: | .\build.ps1 |
For more details about available values for shell
param, refer to documentation.