Skip to content

Does AW workflow support Ubuntu pwsh? #14277

@dunalduck0

Description

@dunalduck0

I tried to first install pwsh on Ubuntu following https://learn.microsoft.com/en-us/powershell/scripting/install/install-ubuntu?view=powershell-7.5 and then run a hello-world ps1 script. It seems not working.

Here is my test run: https://github.com/saikat107/msquic/actions/runs/21774418920

First, I don't have "sudo" permission to install.
Image

Second, copilot discovered pwsh is already installed in the environment and tried to run directly, still permission denied.
Image

What did I do wrong? If pwsh is not supported in AW workflow now, can it be added?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions