Build: Continue the build when skipping the Sign task

This commit is contained in:
Alex Barney 2022-01-09 18:13:53 -07:00
parent 71ca5e3444
commit 06806517da

View file

@ -312,6 +312,7 @@ partial class Build : NukeBuild
.DependsOn(Test, Zip)
.OnlyWhenStatic(() => File.Exists(CertFileName))
.OnlyWhenStatic(() => EnvironmentInfo.IsWin)
.WhenSkipped(DependencyBehavior.Execute)
.Executes(() =>
{
string pwd = ReadPassword();
@ -662,4 +663,4 @@ partial class Build : NukeBuild
Logger.Error("\nError running stage 2 codegen. Skipping...\n");
}
}
}
}