Skip to content

Commit e37e9f7

Browse files
authored
update directory build props (#117)
1 parent 82b0049 commit e37e9f7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Directory.Build.props

+9
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,13 @@
44
<IsPackable>false</IsPackable>
55
<NoWarn>CS1591;NETSDK1138</NoWarn>
66
</PropertyGroup>
7+
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
8+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
9+
</PropertyGroup>
10+
<ItemGroup>
11+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
12+
<PrivateAssets>all</PrivateAssets>
13+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
14+
</PackageReference>
15+
</ItemGroup>
716
</Project>

0 commit comments

Comments
 (0)