Ensure PDBArtifacts artifact is created
- dotnet/aspnetcore-internal#3535 - avoid build warnings when publishing symbols in post-build
This commit is contained in:
parent
bc75981efe
commit
b1f039d0fb
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue