From 7cf06d64d57da7e633fb60813d9df8b74fa54bd9 Mon Sep 17 00:00:00 2001 From: AdmiringWorm Date: Sat, 13 Feb 2021 16:14:58 +0100 Subject: [PATCH] (build) Removed old check for build platform --- recipe.cake | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/recipe.cake b/recipe.cake index 26d07f4..e05f0fa 100644 --- a/recipe.cake +++ b/recipe.cake @@ -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, @@ -28,9 +17,7 @@ BuildParameters.SetParameters( shouldRunCodecov: true, shouldRunCoveralls: false, shouldUseDeterministicBuilds: true, - shouldUseTargetFrameworkPath: false, - preferredBuildAgentOperatingSystem: platform, - preferredBuildProviderType: provider); + shouldUseTargetFrameworkPath: false); ToolSettings.SetToolSettings(context: Context);