Skip to content

Commit d83cba1

Browse files
committed
Enable deterministic build.
1 parent 457745c commit d83cba1

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Directory.Build.props

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,20 @@
3535
<Nullable>enable</Nullable>
3636
<InheritDocEnabled>true</InheritDocEnabled>
3737
</PropertyGroup>
38+
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
39+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
40+
</PropertyGroup>
3841

3942
<!-- Packaging properties -->
4043
<PropertyGroup>
41-
<GeneratePackageOnBuild Condition="'$(Configuration)' == 'Release'">true</GeneratePackageOnBuild>
4244
<PackageOutputPath>..\dist\</PackageOutputPath>
45+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
4346
<IncludeSymbols>true</IncludeSymbols>
4447
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
4548
</PropertyGroup>
49+
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
50+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
51+
</PropertyGroup>
4652

4753
<!-- Hide .root project output -->
4854
<PropertyGroup Condition="'$(MSBuildProjectName)' == '.root'">

0 commit comments

Comments
 (0)