Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions eng/pipelines/build-all-lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,11 @@ extends:

# Stage shipping binaries for symbol upload BEFORE the test step;
# see publish-symbols-stage.yml for why this must run pre-test.
# Pipeline only triggers on v* tags, but condition is explicit so
# a manual queue against a branch does not unintentionally upload.
# Symbols publish from the branches we ship from (main/dev/dev-v5/archives/*),
# whether the run is queued manually or via the declared tag trigger.
- template: /eng/pipelines/publish-symbols-stage.yml@self
parameters:
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))
condition: and(succeeded(), or(in(variables['Build.SourceBranch'], 'refs/heads/main', 'refs/heads/dev', 'refs/heads/dev-v5'), startsWith(variables['Build.SourceBranch'], 'refs/heads/archives/'), startsWith(variables['Build.SourceBranch'], 'refs/tags/v')))

# Test and generate Code Coverage
- task: DotNetCoreCLI@2
Expand Down Expand Up @@ -225,7 +225,7 @@ extends:

- template: /eng/pipelines/publish-symbols-upload.yml@self
parameters:
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))
condition: and(succeeded(), or(in(variables['Build.SourceBranch'], 'refs/heads/main', 'refs/heads/dev', 'refs/heads/dev-v5'), startsWith(variables['Build.SourceBranch'], 'refs/heads/archives/'), startsWith(variables['Build.SourceBranch'], 'refs/tags/v')))

# Since NuGet packages are generated during the build, we need to copy them to the artifacts folder.
- task: CopyFiles@2
Expand Down
Loading