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) .DependsOn(Test, Zip)
.OnlyWhenStatic(() => File.Exists(CertFileName)) .OnlyWhenStatic(() => File.Exists(CertFileName))
.OnlyWhenStatic(() => EnvironmentInfo.IsWin) .OnlyWhenStatic(() => EnvironmentInfo.IsWin)
.WhenSkipped(DependencyBehavior.Execute)
.Executes(() => .Executes(() =>
{ {
string pwd = ReadPassword(); string pwd = ReadPassword();