Skip to content

Commit

Permalink
Build: Continue the build when skipping the Sign task
Browse files Browse the repository at this point in the history
  • Loading branch information
Thealexbarney committed Jan 10, 2022
1 parent 71ca5e3 commit 0680651
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ public Build()
.DependsOn(Test, Zip)
.OnlyWhenStatic(() => File.Exists(CertFileName))
.OnlyWhenStatic(() => EnvironmentInfo.IsWin)
.WhenSkipped(DependencyBehavior.Execute)
.Executes(() =>
{
string pwd = ReadPassword();
Expand Down Expand Up @@ -662,4 +663,4 @@ public void RunCodegenStage2()
Logger.Error("\nError running stage 2 codegen. Skipping...\n");
}
}
}
}

0 comments on commit 0680651

Please sign in to comment.