From e29bd4d38567d13f0dfe422651ceb150c79e56f1 Mon Sep 17 00:00:00 2001 From: June Rhodes Date: Mon, 2 Dec 2024 20:54:46 +1100 Subject: [PATCH] Fix encoding of interruptible flag in GitLab YAML (#71) --- UET/Redpoint.Uet.BuildPipeline.Executors.GitLab/GitLabJob.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UET/Redpoint.Uet.BuildPipeline.Executors.GitLab/GitLabJob.cs b/UET/Redpoint.Uet.BuildPipeline.Executors.GitLab/GitLabJob.cs index 3fc5a7f6..34fdf1a2 100644 --- a/UET/Redpoint.Uet.BuildPipeline.Executors.GitLab/GitLabJob.cs +++ b/UET/Redpoint.Uet.BuildPipeline.Executors.GitLab/GitLabJob.cs @@ -17,7 +17,7 @@ public class GitLabJob [SuppressMessage("Design", "CA1002:Do not expose generic lists", Justification = "This property is used for YAML serialization.")] public List? Tags { get; set; } = null; - [YamlMember(Alias = "interruptible", DefaultValuesHandling = DefaultValuesHandling.OmitNull, ScalarStyle = YamlDotNet.Core.ScalarStyle.DoubleQuoted)] + [YamlMember(Alias = "interruptible", DefaultValuesHandling = DefaultValuesHandling.OmitNull, ScalarStyle = YamlDotNet.Core.ScalarStyle.Literal)] public bool? Interruptible { get; set; } = null; [YamlMember(Alias = "rules", DefaultValuesHandling = DefaultValuesHandling.OmitNull, ScalarStyle = YamlDotNet.Core.ScalarStyle.DoubleQuoted)]