[release/v7.6] Convert Azure DevOps Linux Packaging pipeline to GitHub Actions workflow #26493
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport of #26225 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
This is a critical tooling change required for Linux packaging infrastructure. Converts the Azure DevOps Linux Packaging pipeline to GitHub Actions workflow, including:
.github/actions/test/linux-packaging/action.ymlcomposite action to use GitHub Actions artifact handlinglinux_packagingjob in.github/workflows/linux-ci.ymlbuild.psm1Without this change, Linux packaging cannot function in GitHub Actions.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Original PR validated with GitHub Actions workflows in master branch. Verified:
Backport verified by successful cherry-pick with conflict resolution maintaining release branch patterns.
Risk
REQUIRED: Check exactly one box.
High risk as it modifies build infrastructure (CI/CD pipelines, packaging composite action, bootstrap script). However, this change is necessary to maintain Linux packaging functionality after migration to GitHub Actions. The changes have been validated in master branch since October 17, 2025 (over one month). Not taking this change would prevent Linux package creation on release/v7.6 branch in GitHub Actions environment.
Merge Conflicts
Conflict occurred in
.github/workflows/linux-ci.ymlin theready_to_mergejob dependencies.Cause: The original PR added two dependencies to
ready_to_merge:- analyze(uncommented the CodeQL analysis dependency)- linux_packaging(added the new packaging job)However, release/v7.6 has the CodeQL
analyzejob intentionally commented out with note: "Temporarily disable the CodeQL analysis on Linux as it doesn't work for .NET SDK 10-rc.2."Resolution: Kept release branch pattern by maintaining
# - analyzeas commented out, while adding only- linux_packagingdependency which is the actual fix from PR #26225. This preserves the intentional CodeQL disablement on release/v7.6 while enabling the Linux packaging functionality.Files modified during resolution:
.github/workflows/linux-ci.yml: Line ~228 in ready_to_merge.needs list