docs icon indicating copy to clipboard operation
docs copied to clipboard

Incorrect PowerShell Module Locations

Open tomas-pajurek opened this issue 2 years ago • 9 comments

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-powershell

What part(s) of the article would you like to see updated?

In PowerShell Module Locations, there is an error in the table.

The location for PowerShell add-on modules / Ubuntu is invalid: /usr/local/share/powershell/Modules/*.

The modules are located under /usr/share/ in the subfolder az_<version>, e.g. /usr/share/az_7.3.2.

Additional information

No response

tomas-pajurek avatar Jun 01 '22 16:06 tomas-pajurek

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

welcome[bot] avatar Jun 01 '22 16:06 welcome[bot]

@tomas-pajurek Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:

cmwilson21 avatar Jun 02 '22 16:06 cmwilson21

Thanks for opening an issue! We've triaged this issue for technical review by a subject matter expert :eyes:

github-actions[bot] avatar Aug 22 '22 04:08 github-actions[bot]

👋 @tomas-pajurek, thanks for opening this issue. It looks like there are some modules present at the location currently documented (/usr/local/share/powershell/Modules/*), but the Azure modules do appear to be in the location you specified (/usr/share/az_<version>).

I'll try to get someone from the infrastructure team to clarify if this affects the other GitHub-hosted runner OSs too.

lucascosti avatar Aug 22 '22 04:08 lucascosti

This is a gentle bump for the docs team that this issue is waiting for technical review.

github-actions[bot] avatar Sep 19 '22 20:09 github-actions[bot]

This is a gentle bump for the docs team that this issue is waiting for technical review.

github-actions[bot] avatar Oct 18 '22 20:10 github-actions[bot]

This is a gentle bump for the docs team that this issue is waiting for technical review.

github-actions[bot] avatar Nov 16 '22 16:11 github-actions[bot]

This is a gentle bump for the docs team that this issue is waiting for technical review.

github-actions[bot] avatar Dec 16 '22 16:12 github-actions[bot]

This is a gentle bump for the docs team that this issue is waiting for technical review.

github-actions[bot] avatar Jan 17 '23 16:01 github-actions[bot]

This is a gentle bump for the docs team that this issue is waiting for technical review.

github-actions[bot] avatar Feb 15 '23 16:02 github-actions[bot]

This is a gentle bump for the docs team that this issue is waiting for technical review.

github-actions[bot] avatar Mar 16 '23 16:03 github-actions[bot]

This is a gentle bump for the docs team that this issue is waiting for technical review.

github-actions[bot] avatar Apr 17 '23 16:04 github-actions[bot]

Hi @tomas-pajurek, thank you for opening this issue!

It looks like the Azure modules are in the location you pointed out on Ubuntu runners, and other OS's are not impacted. For context, it is done this way to support the AzurePowerShell task.

I think for this, we could add a note under the table to call this out, somethings similar to:

{% note %}

**Note**: On Ubuntu runners, Azure PowerShell modules are stored in `/usr/share`.

{% endnote %}

You, or anyone else, is welcome to open a PR to address this.

SiaraMist avatar Jun 09 '23 16:06 SiaraMist

Hi, Is it okay if I do it?

alexis-opolka avatar Jun 15 '23 18:06 alexis-opolka

@alexis-opolka Yes! Feel free to assign yourself this issue and open a PR. 🙂

SiaraMist avatar Jun 15 '23 18:06 SiaraMist

@SiaraMist I don't have the rights to assign myself this issue but I'll be sure to open a PR. ^-^

alexis-opolka avatar Jun 15 '23 18:06 alexis-opolka