Skip to content

[ci] Fix mingw build#6453

Merged
AenBleidd merged 1 commit intomasterfrom
vko_fix_mingw_build
Jul 21, 2025
Merged

[ci] Fix mingw build#6453
AenBleidd merged 1 commit intomasterfrom
vko_fix_mingw_build

Conversation

@AenBleidd
Copy link
Copy Markdown
Member

No description provided.

@AenBleidd AenBleidd added this to the Client/Manager 8.4.0 milestone Jul 21, 2025
Copilot AI review requested due to automatic review settings July 21, 2025 22:36
@github-project-automation github-project-automation bot moved this to In progress in Client/Manager Jul 21, 2025

This comment was marked as outdated.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
@AenBleidd AenBleidd force-pushed the vko_fix_mingw_build branch from 78623e3 to 5d02b86 Compare July 21, 2025 22:59
@AenBleidd AenBleidd requested a review from Copilot July 21, 2025 23:01
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR simplifies the PowerShell installation process in the MinGW CI workflow by consolidating multiple apt install commands and removing intermediate steps. The changes streamline the workflow while maintaining the same functionality for installing PowerShell dependencies and PowerShell itself.

  • Consolidated package installation into fewer commands
  • Removed intermediate variable assignment and separate update step
  • Added non-interactive mode for apt installations

sudo apt install -y powershell
sudo apt install -y wget apt-transport-https software-properties-common doxygen
wget -q https://packages.microsoft.com/config/ubuntu/$(lsb_release -r -s)/packages-microsoft-prod.deb
sudo DEBIAN_FRONTEND=noninteractive apt install -y ./packages-microsoft-prod.deb powershell
Copy link

Copilot AI Jul 21, 2025

Choose a reason for hiding this comment

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

Installing the .deb package and PowerShell in the same command may cause issues if the package installation fails or if the apt cache needs to be updated after adding the new repository. Consider separating these into two commands: first install the .deb package with 'sudo dpkg -i', then run 'sudo apt update', and finally install PowerShell.

Suggested change
sudo DEBIAN_FRONTEND=noninteractive apt install -y ./packages-microsoft-prod.deb powershell
sudo dpkg -i packages-microsoft-prod.deb
sudo apt update
sudo apt install -y powershell

Copilot uses AI. Check for mistakes.
@AenBleidd AenBleidd merged commit efd7975 into master Jul 21, 2025
175 checks passed
@AenBleidd AenBleidd deleted the vko_fix_mingw_build branch July 21, 2025 23:21
@github-project-automation github-project-automation bot moved this from In progress to Merged in Client/Manager Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants