Skip to content

Commit

Permalink
Proceed pipeline on independent failure of targets
Browse files Browse the repository at this point in the history
  • Loading branch information
IT-VBFK committed Jan 11, 2023
1 parent 17159d1 commit 01bf49d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ from framework in supportedFrameworks
Target Push => _ => _
.DependsOn(Pack)
.OnlyWhenDynamic(() => IsTag)
.ProceedAfterFailure()
.Executes(() =>
{
IReadOnlyCollection<string> packages = GlobFiles(ArtifactsDirectory, "*.nupkg");
Expand All @@ -275,6 +276,7 @@ from framework in supportedFrameworks

Target SpellCheck => _ => _
.OnlyWhenDynamic(() => RunAllTargets || HasDocumentationChanges)
.ProceedAfterFailure()
.Executes(() =>
{
Node($"{YarnCli} install", workingDirectory: RootDirectory);
Expand Down

0 comments on commit 01bf49d

Please sign in to comment.