diff --git a/eng/pipelines/libraries/build-job.yml b/eng/pipelines/libraries/build-job.yml
index 346be74f29ff92..4f95464e683df5 100644
--- a/eng/pipelines/libraries/build-job.yml
+++ b/eng/pipelines/libraries/build-job.yml
@@ -153,7 +153,8 @@ jobs:
inputs:
sourceFolder: $(Build.SourcesDirectory)/artifacts/packages
targetFolder: $(Build.ArtifactStagingDirectory)/artifacts/packages
-
+ condition: and(succeeded(), eq(variables['_librariesBuildProducedPackages'], true))
+
- task: CopyFiles@2
displayName: Prepare tmp assets to publish
inputs:
diff --git a/src/libraries/packages.builds b/src/libraries/packages.builds
index aac39725422d8e..512fc946046cff 100644
--- a/src/libraries/packages.builds
+++ b/src/libraries/packages.builds
@@ -70,4 +70,14 @@
+
+
+
+ <_PackageReports Include="$(PackageReportDir)*.json" />
+
+
+
+