Skip to content

Commit 6b50495

Browse files
feat: add more build variables
1 parent 0d3499e commit 6b50495

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

IntelliTect.Multitool/Build/IntelliTect.Multitool.targets

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
<Project>
22
<PropertyGroup Label="CI" Condition="'$(CI)' == ''">
33
<CI>false</CI>
4-
<!-- GH, CircleCI, GitLab and BitBucket already use CI -->
5-
<CI Condition="'$(TF_BUILD)' == 'true' or '$(TEAMCITY_VERSION)' != '' or '$(APPVEYOR)' != '' or '$(BuildRunner)' == 'MyGet' or '$(JENKINS_URL)' != '' or '$(TRAVIS)' == 'true' or '$(BUDDY)' == 'true' or '$(CODEBUILD_CI)' == 'true'">true</CI>
4+
<!-- Explicit checks for platforms that typically set CI themselves, but included for robustness -->
5+
<CI Condition="'$(GITHUB_ACTIONS)' == 'true' or
6+
'$(GITLAB_CI)' == 'true' or
7+
'$(CIRCLECI)' == 'true' or
8+
'$(CONTINUOUS_INTEGRATION)' == 'true' or
9+
'$(TF_BUILD)' == 'true' or
10+
'$(TEAMCITY_VERSION)' != '' or
11+
'$(APPVEYOR)' != '' or
12+
'$(BuildRunner)' == 'MyGet' or
13+
'$(JENKINS_URL)' != '' or
14+
'$(TRAVIS)' == 'true' or
15+
'$(BUDDY)' == 'true' or
16+
'$(CODEBUILD_CI)' == 'true'">true</CI>
617
</PropertyGroup>
718

819
<ItemGroup Condition="('$(CI)' == 'true' AND '$(Deterministic)' != 'true' AND '$(ReleaseDateAttribute)' != 'true') OR '$(ReleaseDateAttribute)' == 'true'">

0 commit comments

Comments
 (0)