This commit is contained in:
Hasan Manzak 2023-02-23 04:30:13 +03:00
parent 1d64e4caf9
commit 721beb7fe1
No known key found for this signature in database
GPG Key ID: C1573806B673A138
2 changed files with 4 additions and 7 deletions

View File

@ -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;

View File

@ -10,11 +10,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="GitVersion.CommandLine" Version="5.12.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Nuke.Common" Version="6.3.0" />
<PackageDownload Include="GitVersion.Tool" Version="[5.6.7]" />
</ItemGroup>
</Project>