Skip to content

Fix publishing pipeline to download prebuilds from current branch#899

Merged
rzhao271 merged 2 commits intomainfrom
copilot/fix-publishing-pipeline-artifact
Mar 12, 2026
Merged

Fix publishing pipeline to download prebuilds from current branch#899
rzhao271 merged 2 commits intomainfrom
copilot/fix-publishing-pipeline-artifact

Conversation

Copy link
Contributor

Copilot AI commented Mar 12, 2026

The DownloadPipelineArtifact@2 steps in publish.yml had branchName hardcoded to refs/heads/main, causing prebuild artifacts to always be fetched from main regardless of which branch the pipeline was triggered on.

Changes

  • publish.yml (buildSteps and testSteps): Replace hardcoded branchName: 'refs/heads/main' with branchName: '$(Build.SourceBranch)' so artifact lookup targets the branch the pipeline is actually running on.

Copilot AI and others added 2 commits March 12, 2026 18:40
…ookup

Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>
@rzhao271 rzhao271 added this to the 1.112.0 milestone Mar 12, 2026
@rzhao271
Copy link
Contributor

rzhao271 commented Mar 12, 2026

@rzhao271 rzhao271 marked this pull request as ready for review March 12, 2026 18:57
@rzhao271 rzhao271 merged commit 31f77fc into main Mar 12, 2026
25 checks passed
@rzhao271 rzhao271 deleted the copilot/fix-publishing-pipeline-artifact branch March 12, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants