Skip to content
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 linux agents #129

Open
Havunen opened this issue Apr 21, 2023 · 2 comments
Open

Support linux agents #129

Havunen opened this issue Apr 21, 2023 · 2 comments

Comments

@Havunen
Copy link

Havunen commented Apr 21, 2023

When running task stephane-eyskens.apim.apimcreateorupdateproduct.apimcreateorupdateproduct@4 on 'ubuntu-latest' image it fails to following exception:

##[error]The current operating system is not capable of running this task. That typically means the task was written for Windows only. For example, written for Windows Desktop PowerShell.

I'm guessing this is because of used power shell version 3. https://github.com/stephaneey/azure-apim-extension/blob/master/apimcreateorupdateproduct/v4/task.json#L258-L260

Powershell 7 runs on linux and windows, maybe this template could be updated to use newer version?

@nishantpandey107
Copy link

any fix for this task ? @Havunen

@Havunen
Copy link
Author

Havunen commented Apr 8, 2024

we migrated all our devops tasks to bicep... and removed this plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants