Skip to content

Commit 23b135e

Browse files
Added missing continue on error setting (#756)
1 parent 60b2cef commit 23b135e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Nuke/GithubActions/BaseGitHubActionsStep.cs

+10
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ protected BaseGitHubActionsStep(string name)
3535
/// </summary>
3636
public GithubActionCondition? If { get; set; }
3737

38+
/// <summary>
39+
/// Should this continue on error or not
40+
/// </summary>
41+
public bool ContinueOnError { get; set; }
42+
3843
/// <summary>
3944
/// The dependencies of this job
4045
/// </summary>
@@ -63,6 +68,11 @@ public override void Write(CustomFileWriter writer)
6368
{
6469
writer.WriteLine($"if: {If}");
6570
}
71+
72+
if (ContinueOnError)
73+
{
74+
writer.WriteLine($"continue-on-error: {Id}");
75+
}
6676
}
6777
}
6878

0 commit comments

Comments
 (0)