Skip to content

Commit b1f039d

Browse files
committed
Ensure PDBArtifacts artifact is created
- dotnet/aspnetcore-internal#3535 - avoid build warnings when publishing symbols in post-build
1 parent bc75981 commit b1f039d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

eng/Publishing.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
<!-- Include our "loose" PDBs when publishing symbols. -->
1414
<FilesToPublishToSymbolServer Include="$(ArtifactsDir)\symbols\**\*.pdb" />
1515

16+
<!-- Ensure the PDBArtifacts artifact isn't empty, avoiding irrelevant build warnings. -->
17+
<FilesToPublishToSymbolServer Include="$(RepoRoot)\README.md"
18+
Condition=" @(FilesToPublishToSymbolServer) == '' " />
19+
1620
<!-- Prepare for _PublishInstallers target. -->
1721
<_InstallersToPublish Remove="@(_InstallersToPublish)" />
1822
<_InstallersToPublish Include="$(ArtifactsDir)\packages\**\*.jar" UploadPathSegment="jar" />

0 commit comments

Comments
 (0)