Skip to content

Commit

Permalink
(build) Removed old check for build platform
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiringWorm committed Feb 13, 2021
1 parent f71e07a commit 7cf06d6
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions recipe.cake
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,6 @@

Environment.SetVariableNames();

var platform = PlatformFamily.Linux;
var provider = BuildProviderType.GitHubActions;

// Because GitVersion do not play nice with GitHub Action, we need to do the publishing
// on appveyor instead
if (HasEnvironmentVariable("APPVEYOR") && EnvironmentVariable("APPVEYOR_REPO_TAG", false))
{
platform = PlatformFamily.Windows;
provider = BuildProviderType.AppVeyor;
}

BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
Expand All @@ -28,9 +17,7 @@ BuildParameters.SetParameters(
shouldRunCodecov: true,
shouldRunCoveralls: false,
shouldUseDeterministicBuilds: true,
shouldUseTargetFrameworkPath: false,
preferredBuildAgentOperatingSystem: platform,
preferredBuildProviderType: provider);
shouldUseTargetFrameworkPath: false);

ToolSettings.SetToolSettings(context: Context);

Expand Down

0 comments on commit 7cf06d6

Please sign in to comment.