asdlkalşdja

This commit is contained in:
Hasan Manzak 2023-02-23 04:16:20 +03:00
parent c5a977e5c9
commit ad7178ef96
No known key found for this signature in database
GPG Key ID: C1573806B673A138
2 changed files with 10 additions and 7 deletions

View File

@ -15,14 +15,14 @@ using static Nuke.Common.Tools.DotNet.DotNetTasks;
[ShutdownDotNetAfterServerBuild] [ShutdownDotNetAfterServerBuild]
[GitHubActions("ci", GitHubActionsImage.UbuntuLatest, [GitHubActions("ci", GitHubActionsImage.UbuntuLatest,
FetchDepth = 0,
OnPullRequestBranches = new[] {"master", "releases/*"}, OnPullRequestBranches = new[] {"master", "releases/*"},
AutoGenerate = true, AutoGenerate = true,
InvokedTargets = new[] {nameof(Ci)}, InvokedTargets = new[] {nameof(Ci)},
CacheKeyFiles = new string[0], CacheKeyFiles = new string[0]
FetchDepth = 0 )]
)
]
[GitHubActions("ci_publish", GitHubActionsImage.UbuntuLatest, [GitHubActions("ci_publish", GitHubActionsImage.UbuntuLatest,
FetchDepth = 0,
OnPushBranches = new[] { "releases/*" }, OnPushBranches = new[] { "releases/*" },
OnPushTags = new[] { "v*" }, OnPushTags = new[] { "v*" },
AutoGenerate = true, AutoGenerate = true,
@ -36,7 +36,7 @@ class Build : NukeBuild
[GitRepository] readonly GitRepository GitRepository; [GitRepository] readonly GitRepository GitRepository;
[GitVersion(Framework = "netcoreapp3.1")] readonly GitVersion GitVersion; [GitVersion] readonly GitVersion GitVersion;
[Solution] readonly Solution Solution; [Solution] readonly Solution Solution;

View File

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net5.0</TargetFramework>
<RootNamespace></RootNamespace> <RootNamespace></RootNamespace>
<NoWarn>CS0649;CS0169</NoWarn> <NoWarn>CS0649;CS0169</NoWarn>
<NukeRootDirectory>..</NukeRootDirectory> <NukeRootDirectory>..</NukeRootDirectory>
@ -10,8 +10,11 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <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" /> <PackageReference Include="Nuke.Common" Version="6.3.0" />
<PackageDownload Include="GitVersion.Tool" Version="[5.6.7]" />
</ItemGroup> </ItemGroup>
</Project> </Project>