Skip to content

Add PowerShell installation step to build-and-test workflow#25324

Merged
voloagent merged 1 commit into
rel-10.3from
skoc/github-action
Apr 28, 2026
Merged

Add PowerShell installation step to build-and-test workflow#25324
voloagent merged 1 commit into
rel-10.3from
skoc/github-action

Conversation

@skoc10

@skoc10 skoc10 commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Co-authored-by: Copilot <copilot@github.com>
@skoc10 skoc10 added this to the 10.3-patch milestone Apr 28, 2026
@skoc10 skoc10 requested review from Copilot and voloagent April 28, 2026 06:05
@skoc10 skoc10 added the devops label Apr 28, 2026
@voloagent voloagent merged commit f12d9fd into rel-10.3 Apr 28, 2026
1 of 2 checks passed
@voloagent voloagent deleted the skoc/github-action branch April 28, 2026 06:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an explicit PowerShell installation step to the existing Linux CI workflow so the build/test PowerShell scripts can run.

Changes:

  • Add a step to install PowerShell via apt-get before running the pwsh-based build/test steps.

Comment on lines +64 to +65
- name: Install PowerShell
run: sudo apt-get install -y powershell

Copilot AI Apr 28, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apt-get install powershell on Ubuntu runners can be flaky because it depends on the runner’s apt sources and current package lists. To make this step reliable, either (a) rely on the preinstalled pwsh on ubuntu-22.04 and just validate it’s available, or (b) add the proper Microsoft apt repo + apt-get update before installing so the package is resolvable even if PowerShell was removed earlier in the job.

Suggested change
- name: Install PowerShell
run: sudo apt-get install -y powershell
- name: Validate PowerShell
run: pwsh --version

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants