[release/v7.5] Convert Azure DevOps Linux Packaging pipeline to GitHub Actions workflow #26391
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.5
Triggered by @TravisEz13 on behalf of @copilot-swe-agent
Original CL Label: CL-BuildPackaging
/cc @PowerShell/powershell-maintainers
Impact
Tooling Impact
This PR converts the Azure DevOps Linux Packaging pipeline to GitHub Actions workflow, enabling Linux packaging in the CI pipeline. The change:
linux-packagingcomposite action to use GitHub Actions equivalents for all Azure DevOps-specific taskslinux_packagingjob in the Linux CI workflowInstall-GlobalGemto detect GitHub Actions environmentRegression
This is not a regression fix, but rather an enhancement to enable Linux packaging in GitHub Actions.
Testing
The original PR was tested through the GitHub Actions CI pipeline. The backport maintains the same functionality and testing approach:
.github/workflows/linux-ci.yml(the job was commented out in 7.5 but is enabled by this PR)Risk
High Risk - This change affects the build and packaging infrastructure:
The risk is mitigated by:
Merge Conflicts
One merge conflict occurred in
.github/workflows/linux-ci.yml:linux_packagingjob commented out due to previous gem permission errorslinux_packagingto ready_to_merge dependencies, uncommented the job, updated to use ubuntu-latest and actions/checkout@v5 with fetch-depth: 0