Update everything and add Forgejo workflow
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m43s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m43s
This commit is contained in:
parent
f446a9e9e0
commit
03b4088e19
14 changed files with 132 additions and 250 deletions
|
@ -4,7 +4,7 @@ using Nuke.Common.IO;
|
|||
using Nuke.Common.ProjectModel;
|
||||
using Nuke.Common.Tools.DotNet;
|
||||
using Nuke.Common.Utilities.Collections;
|
||||
using static Nuke.Common.IO.FileSystemTasks;
|
||||
// using static Nuke.Common.IO.FileSystemTasks;
|
||||
using static Nuke.Common.Tools.DotNet.DotNetTasks;
|
||||
|
||||
[UnsetVisualStudioEnvironmentVariables]
|
||||
|
@ -23,8 +23,8 @@ class Build : NukeBuild {
|
|||
Target Clean => _ => _
|
||||
.Before(Restore)
|
||||
.Executes(() => {
|
||||
SourceDirectory.GlobDirectories("**/bin", "**/obj").ForEach(DeleteDirectory);
|
||||
EnsureCleanDirectory(OutputDirectory);
|
||||
// SourceDirectory.GlobDirectories("**/bin", "**/obj").ForEach(DeleteDirectory);
|
||||
// EnsureCleanDirectory(OutputDirectory);
|
||||
});
|
||||
|
||||
Target Restore => _ => _
|
||||
|
@ -58,4 +58,4 @@ class Build : NukeBuild {
|
|||
.SetConfiguration(Configuration)
|
||||
.SetOutput(OutputDirectory));
|
||||
});
|
||||
}
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<RootNamespace></RootNamespace>
|
||||
<IsPackable>False</IsPackable>
|
||||
|
@ -11,7 +11,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Nuke.Common" Version="6.3.0" />
|
||||
<PackageReference Include="Nuke.Common" Version="9.0.4" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue