File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change 14
14
<!-- Determined by environmental settings set in build-and-test.yml-->
15
15
<PropertyGroup >
16
16
<IsContinuousIntegration Condition =" '$(CI)' == 'true'" >true</IsContinuousIntegration >
17
- <IsCodeCoverage Condition =" '$(codecov)' != ''" >true</IsCodeCoverage >
17
+ <IsCodeCoverage Condition =" '$(codecov)' == 'true'" >true</IsCodeCoverage >
18
+ </PropertyGroup >
19
+ <PropertyGroup Condition =" '$(IsContinuousIntegration)'=='true'" >
20
+ <DefineConstants >$(DefineConstants);ENV_CI</DefineConstants >
21
+ </PropertyGroup >
22
+ <PropertyGroup Condition =" '$(IsCodeCoverage)'=='true'" >
23
+ <DefineConstants >$(DefineConstants);ENV_CODECOV</DefineConstants >
18
24
</PropertyGroup >
19
- <Choose >
20
- <When Condition =" '$(IsContinuousIntegration)'=='true'" >
21
- <PropertyGroup >
22
- <DefineConstants >$(DefineConstants);ENV_CI</DefineConstants >
23
- </PropertyGroup >
24
- </When >
25
- <When Condition =" '$(IsCodeCoverage)'=='true'" >
26
- <PropertyGroup >
27
- <DefineConstants >$(DefineConstants);ENV_CODECOV</DefineConstants >
28
- </PropertyGroup >
29
- </When >
30
- </Choose >
31
25
32
26
<!-- Define OS platform conditions and constants.
33
27
https://docs.microsoft.com/en-us/visualstudio/msbuild/property-functions?view=vs-2019#msbuild-property-functions
You can’t perform that action at this time.
0 commit comments