Skip to content

Commit b47b28b

Browse files
authored
housekeeping: Enable deterministic builds
1 parent 26bf56c commit b47b28b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Directory.Build.props

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,15 @@
2323
<EmbedUntrackedSources>true</EmbedUntrackedSources>
2424
<!-- Include PDB in the built .nupkg -->
2525
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
26+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
27+
<IncludePackageReferencesDuringMarkupCompilation>true</IncludePackageReferencesDuringMarkupCompilation>
28+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
2629
</PropertyGroup>
2730

31+
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
32+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
33+
</PropertyGroup>
34+
2835
<ItemGroup Condition="'$(IsTestProject)' != 'true'">
2936
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
3037
</ItemGroup>

0 commit comments

Comments
 (0)