From 721beb7fe1b422fe8470f44b200dbc05d2cac950 Mon Sep 17 00:00:00 2001 From: Hasan Manzak Date: Thu, 23 Feb 2023 04:30:13 +0300 Subject: [PATCH] final? --- build/Build.cs | 6 +++--- build/_build.csproj | 5 +---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/build/Build.cs b/build/Build.cs index ca3f8a6..2277cc6 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -14,14 +14,14 @@ using static Nuke.Common.IO.FileSystemTasks; using static Nuke.Common.Tools.DotNet.DotNetTasks; [ShutdownDotNetAfterServerBuild] -[GitHubActions("ci", GitHubActionsImage.UbuntuLatest, +[GitHubActions("ci", GitHubActionsImage.Ubuntu2004, FetchDepth = 0, OnPullRequestBranches = new[] {"master", "releases/*"}, AutoGenerate = true, InvokedTargets = new[] {nameof(Ci)}, CacheKeyFiles = new string[0] )] -[GitHubActions("ci_publish", GitHubActionsImage.UbuntuLatest, +[GitHubActions("ci_publish", GitHubActionsImage.Ubuntu2004, FetchDepth = 0, OnPushBranches = new[] { "releases/*" }, OnPushTags = new[] { "v*" }, @@ -36,7 +36,7 @@ class Build : NukeBuild [GitRepository] readonly GitRepository GitRepository; - [GitVersion] readonly GitVersion GitVersion; + [GitVersion(Framework = "netcoreapp3.1")] readonly GitVersion GitVersion; [Solution] readonly Solution Solution; diff --git a/build/_build.csproj b/build/_build.csproj index fcd60f5..e941599 100644 --- a/build/_build.csproj +++ b/build/_build.csproj @@ -10,11 +10,8 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - +