mirror of
https://github.com/go-task/task.git
synced 2025-11-23 22:24:45 +02:00
update schema
This commit is contained in:
2
task.go
2
task.go
@@ -345,7 +345,7 @@ func (e *Executor) runCommand(ctx context.Context, t *ast.Task, call *Call, i in
|
|||||||
return fmt.Errorf("task: failed to get variables: %w", err)
|
return fmt.Errorf("task: failed to get variables: %w", err)
|
||||||
}
|
}
|
||||||
stdOut, stdErr, closer := outputWrapper.WrapWriter(e.Stdout, e.Stderr, t.Prefix, outputTemplater)
|
stdOut, stdErr, closer := outputWrapper.WrapWriter(e.Stdout, e.Stderr, t.Prefix, outputTemplater)
|
||||||
|
|
||||||
err = execext.RunCommand(ctx, &execext.RunCommandOptions{
|
err = execext.RunCommand(ctx, &execext.RunCommandOptions{
|
||||||
Command: cmd.Cmd,
|
Command: cmd.Cmd,
|
||||||
Dir: t.Dir,
|
Dir: t.Dir,
|
||||||
|
|||||||
@@ -306,6 +306,10 @@
|
|||||||
"map": {
|
"map": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "The value will be treated as a literal map type and stored in the variable"
|
"description": "The value will be treated as a literal map type and stored in the variable"
|
||||||
|
},
|
||||||
|
"secret": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Marks the variable as secret. Secret values will be masked as ***** in command logs to prevent accidental exposure of sensitive information."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
|
|||||||
Reference in New Issue
Block a user