Skip to content

Conversation

@TravisEz13
Copy link
Member

Backport of #26224 to release/v7.6

Triggered by @TravisEz13 on behalf of @app/copilot-swe-agent

Original CL Label: CL-BuildPackaging

/cc @PowerShell/powershell-maintainers

Impact

REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.

Tooling Impact

  • Required tooling change
  • Optional tooling change (include reasoning)

Updates windows-ci to call the reusable packaging workflow and adds packaging path filters plus environment setup so the packaging automation continues to function on servicing branches.

Customer Impact

  • Customer reported
  • Found internally

Shipping teams can only produce Windows packages when packaging jobs run; without this integration the release branch requires the deprecated AzDO pipeline, which slows servicing cadence.

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Validated by rerunning the new Windows packaging reusable workflow on master, confirming each matrix leg (x64 preview, x86 stable, x86 preview, arm64 preview) builds and uploads artifacts; verified path-filter logic by touching packaging files and ensuring only the Windows packaging job fan-out triggered; smoke-ran Invoke-CIInstall/Invoke-CIFinish locally to ensure SBOM generation and artifact environment variables function outside AzDO.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Changes how all Windows packages are produced by moving the AzDO pipeline into GitHub Actions; any mistakes would block shipping signed MSI/MSIX payloads, so we treat this as high risk though the jobs are identical to master.

…orkflow (PowerShell#26224)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Copilot AI review requested due to automatic review settings November 17, 2025 19:36
@TravisEz13 TravisEz13 added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Nov 17, 2025
@TravisEz13 TravisEz13 requested a review from a team as a code owner November 17, 2025 19:36
Copy link
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 backports the Windows packaging integration to the release/v7.6 branch, migrating Windows package creation from Azure DevOps pipelines to GitHub Actions. This enables servicing teams to produce Windows packages directly from the CI workflow.

Key Changes:

  • Introduces a reusable Windows packaging workflow that builds and packages PowerShell for multiple architectures (x64, x86, arm64) and channels (stable, preview)
  • Integrates the packaging workflow into the Windows CI pipeline with path-based filtering to trigger only on packaging-related changes
  • Adds environment variables (SYSTEM_ARTIFACTSDIRECTORY, BUILD_ARTIFACTSTAGINGDIRECTORY) to support artifact handling in GitHub Actions

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/windows-packaging-reusable.yml New reusable workflow that builds and packages PowerShell for Windows across 4 matrix combinations (x64/x86/arm64 × preview/stable)
.github/workflows/windows-ci.yml Integrates the packaging workflow with conditional execution based on file changes; adds artifact environment variables
.github/actions/infrastructure/path-filters/action.yml Adds packagingChanged output to detect packaging-related file modifications (WiX assets, project files, packaging scripts)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TravisEz13 TravisEz13 merged commit 22636e0 into PowerShell:release/v7.6 Nov 19, 2025
46 of 51 checks passed
@TravisEz13 TravisEz13 deleted the backport/release/v7.6/26224-0d5d7deef branch November 19, 2025 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants