add scalar handling
This commit is contained in:
@@ -86,7 +86,7 @@ type BaseStep = {
|
||||
id: string;
|
||||
name?: ScalarToken;
|
||||
if: BasicExpressionToken;
|
||||
"continue-on-error"?: boolean;
|
||||
"continue-on-error"?: boolean | ScalarToken;
|
||||
env?: MappingToken;
|
||||
};
|
||||
|
||||
@@ -154,12 +154,12 @@ export type PathFilterConfig = {
|
||||
};
|
||||
|
||||
export type WorkflowDispatchConfig = {
|
||||
inputs?: {[inputName: string]: InputConfig};
|
||||
inputs?: { [inputName: string]: InputConfig };
|
||||
};
|
||||
|
||||
export type WorkflowCallConfig = {
|
||||
inputs?: {[inputName: string]: InputConfig & {default?: string | boolean | number | ScalarToken}};
|
||||
secrets?: {[secretName: string]: SecretConfig};
|
||||
inputs?: { [inputName: string]: InputConfig & { default?: string | boolean | number | ScalarToken } };
|
||||
secrets?: { [secretName: string]: SecretConfig };
|
||||
// TODO - these are supported in C# and Go but not in TS yet
|
||||
// outputs: { [outputName: string]: OutputConfig }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user