diff --git a/workflow-parser/src/workflow-v1.0.json b/workflow-parser/src/workflow-v1.0.json index ec233b9..b3ce7ec 100644 --- a/workflow-parser/src/workflow-v1.0.json +++ b/workflow-parser/src/workflow-v1.0.json @@ -2044,8 +2044,7 @@ "continue-on-error": "step-continue-on-error", "timeout-minutes": "step-timeout-minutes", "uses": { - "description": "Selects an action to run as part of a step in your job. An action is a reusable unit of code. You can use an action defined in the same repository as the workflow, a public repository, or in a published Docker container image.", - "type": "non-empty-string", + "type": "step-uses", "required": true }, "with": "step-with", @@ -2053,6 +2052,12 @@ } } }, + "step-uses": { + "description": "Selects an action to run as part of a step in your job. An action is a reusable unit of code. You can use an action defined in the same repository as the workflow, a public repository, or in a published Docker container image.", + "string": { + "require-non-empty": true + } + }, "step-continue-on-error": { "context": [ "github",