Skip to content

Commit

Permalink
build: Add continuous integration build property
Browse files Browse the repository at this point in the history
This commit adds a continuous integration build property to the Directory.Build.props file. The property is conditionally set to true when the GITHUB_ACTIONS environment variable is true.
  • Loading branch information
SakuraIsayeki committed Mar 24, 2024
1 parent 627818e commit fbf175b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 5 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(GITHUB_ACTIONS)'=='true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Condition="!Exists('packages.config')">
<PrivateAssets>all</PrivateAssets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@
<Authors>Richard Slater, Sakura Akeno Isayeki</Authors>
<Company>Nodsoft Systems</Company>
<Description>Syntax Highlighting extension for Markdig</Description>
<Copyright>ISC</Copyright>

<PackageTags>markdig,extension,syntax,highlighting</PackageTags>
<PackageProjectUrl>https://github.com/Nodsoft/Markdig.SyntaxHighlighting.Core</PackageProjectUrl>
<RepositoryUrl>https://github.com/Nodsoft/Markdig.SyntaxHighlighting.Core</RepositoryUrl>
<PackageTags>markdig,extension,syntax,highlighting,markdown</PackageTags>
<PackageProjectUrl>https://github.com/Nodsoft/Nodsoft.Markdig.SyntaxHighlighting</PackageProjectUrl>
<RepositoryUrl>https://github.com/Nodsoft/Nodsoft.Markdig.SyntaxHighlighting</RepositoryUrl>
<RepositoryType>git</RepositoryType>

<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down

0 comments on commit fbf175b

Please sign in to comment.