Skip to content

Commit 88f8526

Browse files
authored
Fix SourceLink (#62)
1 parent c9b02d6 commit 88f8526

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

Directory.Build.props

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project>
1+
<Project>
22
<PropertyGroup>
33
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
44
</PropertyGroup>
@@ -20,15 +20,7 @@
2020
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
2121
<SourceLinkGitHubHost Include="github.com" ContentUrl="https://raw.githubusercontent.com" />
2222
</ItemGroup>
23-
<!--
24-
SourceLink doesn't support F# deterministic builds out of the box,
25-
so tell SourceLink that our source root is going to be remapped.
26-
-->
27-
<Target Name="MapSourceRoot" BeforeTargets="_GenerateSourceLinkFile" Condition="'$(SourceRootMappedPathsFeatureSupported)' != 'true'">
28-
<ItemGroup>
29-
<SourceRoot Update="@(SourceRoot)">
30-
<MappedPath>Z:\CheckoutRoot\ApiSurface\</MappedPath>
31-
</SourceRoot>
32-
</ItemGroup>
33-
</Target>
23+
<PropertyGroup Condition="'$(GITHUB_ACTION)' != ''">
24+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
25+
</PropertyGroup>
3426
</Project>

0 commit comments

Comments
 (0)