-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Powershell Core #64
Comments
Works on my Mac and on MS Hosted Azure DevOps Linux build agents. More information is probably needed. |
Many times I use PS 7.1.x and it works perfectly. |
My apology, this issue should be posted in "Publish Data Factory" in here The error I am getting is I have asked the client to install Latest Az, but his response is so I am asking whether a way in the module to see whether we can redirect the module to use Powershell Core in the "Publish ADF" module? Screenshot is attached |
Currently, there are no workarounds/option to make PowerShell-based tasks to support PowerShell core, and the situation is not going to get fixed. ref: microsoft/azure-pipelines-task-lib#314 It is possible to write task entrypoint with typescript but then there would be two entrypoints to maintain unless migrating from PowerShell entrypoint to typescript only. The workaround I used for Linux-based runners: |
Related to #24 |
Is your feature request related to a problem? Please describe.
My client does not want to install the old Powershell in the build machine. Only Powershell Core is installed
Describe the solution you'd like
A check box in the component to support Powershell Core
Describe alternatives you've considered
I am planning to call adf tools powershell script directly in the Powershell Task in Release pipeline, but not sure if it works
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: