mirror of
https://github.com/actions/runner.git
synced 2025-12-12 05:37:01 +00:00
revert back
This commit is contained in:
@@ -31,6 +31,7 @@ namespace GitHub.DistributedTask.ObjectTemplating
|
|||||||
Boolean omitHeader = false)
|
Boolean omitHeader = false)
|
||||||
{
|
{
|
||||||
TemplateToken result;
|
TemplateToken result;
|
||||||
|
|
||||||
if (!omitHeader)
|
if (!omitHeader)
|
||||||
{
|
{
|
||||||
if (fileId != null)
|
if (fileId != null)
|
||||||
|
|||||||
@@ -166,6 +166,7 @@ namespace GitHub.DistributedTask.Pipelines.ObjectTemplating
|
|||||||
if (token != null && token.Type != TokenType.Null)
|
if (token != null && token.Type != TokenType.Null)
|
||||||
{
|
{
|
||||||
var context = CreateContext(null, null, setMissingContext: false);
|
var context = CreateContext(null, null, setMissingContext: false);
|
||||||
|
// TODO: we might want to to have a bool to prevent it from filling in with missing context w/ dummy variables
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
token = TemplateEvaluator.Evaluate(context, PipelineTemplateConstants.StepsInTemplate, token, 0, null, omitHeader: true);
|
token = TemplateEvaluator.Evaluate(context, PipelineTemplateConstants.StepsInTemplate, token, 0, null, omitHeader: true);
|
||||||
|
|||||||
Reference in New Issue
Block a user