Skip to content

Commit 7cf06d6

Browse files
committed
(build) Removed old check for build platform
1 parent f71e07a commit 7cf06d6

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

recipe.cake

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,6 @@
33
44
Environment.SetVariableNames();
55
6-
var platform = PlatformFamily.Linux;
7-
var provider = BuildProviderType.GitHubActions;
8-
9-
// Because GitVersion do not play nice with GitHub Action, we need to do the publishing
10-
// on appveyor instead
11-
if (HasEnvironmentVariable("APPVEYOR") && EnvironmentVariable("APPVEYOR_REPO_TAG", false))
12-
{
13-
platform = PlatformFamily.Windows;
14-
provider = BuildProviderType.AppVeyor;
15-
}
16-
176
BuildParameters.SetParameters(
187
context: Context,
198
buildSystem: BuildSystem,
@@ -28,9 +17,7 @@ BuildParameters.SetParameters(
2817
shouldRunCodecov: true,
2918
shouldRunCoveralls: false,
3019
shouldUseDeterministicBuilds: true,
31-
shouldUseTargetFrameworkPath: false,
32-
preferredBuildAgentOperatingSystem: platform,
33-
preferredBuildProviderType: provider);
20+
shouldUseTargetFrameworkPath: false);
3421

3522
ToolSettings.SetToolSettings(context: Context);
3623

0 commit comments

Comments
 (0)