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));
|
||||
});
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue