From 38af9af9822aae2111c5c979bb4c362dd539b5f4 Mon Sep 17 00:00:00 2001 From: Keivn Sommer Date: Fri, 14 May 2021 22:28:49 +0200 Subject: [PATCH] Publish requires to be executed on server --- build/Build.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/build/Build.cs b/build/Build.cs index 65879ea..fa69866 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -95,6 +95,7 @@ class Build : NukeBuild Target Publish => _ => _ .DependsOn(Package) + .Requires(() => IsServerBuild) .Requires(() => NUGET_API_KEY) .Requires(() => Configuration.Equals(Configuration.Release)) .Executes(() =>