From ad7178ef96f3ac49903d6b395b0b1fdd4a4207eb Mon Sep 17 00:00:00 2001 From: Hasan Manzak Date: Thu, 23 Feb 2023 04:16:20 +0300 Subject: [PATCH] =?UTF-8?q?asdlkal=C5=9Fdja?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/Build.cs | 10 +++++----- build/_build.csproj | 7 +++++-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/build/Build.cs b/build/Build.cs index 7f4c5fd..ca3f8a6 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -15,14 +15,14 @@ using static Nuke.Common.Tools.DotNet.DotNetTasks; [ShutdownDotNetAfterServerBuild] [GitHubActions("ci", GitHubActionsImage.UbuntuLatest, + FetchDepth = 0, OnPullRequestBranches = new[] {"master", "releases/*"}, AutoGenerate = true, InvokedTargets = new[] {nameof(Ci)}, - CacheKeyFiles = new string[0], - FetchDepth = 0 - ) -] + CacheKeyFiles = new string[0] + )] [GitHubActions("ci_publish", GitHubActionsImage.UbuntuLatest, + FetchDepth = 0, OnPushBranches = new[] { "releases/*" }, OnPushTags = new[] { "v*" }, AutoGenerate = true, @@ -36,7 +36,7 @@ class Build : NukeBuild [GitRepository] readonly GitRepository GitRepository; - [GitVersion(Framework = "netcoreapp3.1")] readonly GitVersion GitVersion; + [GitVersion] readonly GitVersion GitVersion; [Solution] readonly Solution Solution; diff --git a/build/_build.csproj b/build/_build.csproj index e941599..5255a3c 100644 --- a/build/_build.csproj +++ b/build/_build.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net5.0 CS0649;CS0169 .. @@ -10,8 +10,11 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + -