Skip to content

Commit

Permalink
add empty sb intermediate check (#13126)
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-didyk authored Aug 3, 2023
1 parent 769f8b1 commit 2b2cfc2
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@
<IntermediateNupkgArtifactFile Remove="$(CurrentRepoSourceBuildArtifactsPackagesDir)**\*.symbols.nupkg" />
</ItemGroup>

<Error
Text="No source-build artifacts were found and the resulting intermediate is empty."
Condition="'$(AllowEmptySourceBuiltIntermediates)' != 'true' and '@(IntermediateNupkgArtifactFile)' == ''" />

<ItemGroup>
<IntermediateNupkgFile Include="@(IntermediateNupkgArtifactFile)" PackagePath="artifacts" />

Expand Down

0 comments on commit 2b2cfc2

Please sign in to comment.