Skip to content

Commit

Permalink
Proceed after failed target on independent pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
IT-VBFK committed Jan 10, 2023
1 parent 17159d1 commit 3493738
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Build/Build.cs
Expand Up @@ -258,6 +258,7 @@ class Build : NukeBuild
Target Push => _ => _
.DependsOn(Pack)
.OnlyWhenDynamic(() => IsTag)
.ProceedAfterFailure()
.Executes(() =>
{
IReadOnlyCollection<string> packages = GlobFiles(ArtifactsDirectory, "*.nupkg");
Expand All @@ -275,6 +276,7 @@ class Build : NukeBuild

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

0 comments on commit 3493738

Please sign in to comment.