Skip to content

Commit ab62b66

Browse files
committed
fix: Added sourcelink ref
See https://mitchelsellers.com/blog/article/net-5-deterministic-builds-source-linking - for ensuring deterministic build flags and source link are set
1 parent ef6c997 commit ab62b66

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

DevDecoder.DynamicXml/DevDecoder.DynamicXml.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@
2727
<AssemblyName>DevDecoder.DynamicXml</AssemblyName>
2828
<PackageReadmeFile>README.md</PackageReadmeFile>
2929
</PropertyGroup>
30+
31+
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
32+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
33+
</PropertyGroup>
34+
35+
<ItemGroup>
36+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.0-beta-20204-02" PrivateAssets="All"/>
37+
</ItemGroup>
3038

3139
<ItemGroup>
3240
<None Update="DXStructs.tt">

0 commit comments

Comments
 (0)