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.
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.
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:
- name: Build
run: |
.\build.ps1
to:
- name: Build
shell: pwsh
run: |
.\build.ps1
For more details about available values for shell
param, refer to documentation.
shell: pwsh
is equivalent. The default shell for windows is pwsh
, thus it is not necessary to specify it.
pwsh
was not the default back then