Ensure PDBArtifacts artifact is created

- dotnet/aspnetcore-internal#3535
- avoid build warnings when publishing symbols in post-build
This commit is contained in:
Doug Bunting 2020-03-13 11:33:54 -07:00
parent bc75981efe
commit b1f039d0fb
No known key found for this signature in database
GPG Key ID: EE41520987982C03
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@
<!-- Include our "loose" PDBs when publishing symbols. -->
<FilesToPublishToSymbolServer Include="$(ArtifactsDir)\symbols\**\*.pdb" />
<!-- Ensure the PDBArtifacts artifact isn't empty, avoiding irrelevant build warnings. -->
<FilesToPublishToSymbolServer Include="$(RepoRoot)\README.md"
Condition=" @(FilesToPublishToSymbolServer) == '' " />
<!-- Prepare for _PublishInstallers target. -->
<_InstallersToPublish Remove="@(_InstallersToPublish)" />
<_InstallersToPublish Include="$(ArtifactsDir)\packages\**\*.jar" UploadPathSegment="jar" />