From e927bacf3c1d654fbab15b44a8990cd34e5dda16 Mon Sep 17 00:00:00 2001 From: Ethan Chiu Date: Mon, 27 Jul 2020 14:17:01 -0400 Subject: [PATCH] revert --- src/Runner.Worker/action_yaml.json | 82 +----------------------------- 1 file changed, 1 insertion(+), 81 deletions(-) diff --git a/src/Runner.Worker/action_yaml.json b/src/Runner.Worker/action_yaml.json index 518c4d51a..82b24a695 100644 --- a/src/Runner.Worker/action_yaml.json +++ b/src/Runner.Worker/action_yaml.json @@ -120,42 +120,7 @@ "hashFiles(1,255)" ], "sequence": { - "item-type": "steps-item" - } - }, - "steps-item": { - "one-of": [ - "run-step", - "regular-step" - ] - }, - "run-step": { - "mapping": { - "properties": { - "name": "string-steps-context", - "id": "non-empty-string", - "run": { - "type": "string-steps-context", - "required": true - }, - "env": "step-env", - "working-directory": "string-steps-context", - "shell": "string-steps-context" - } - } - }, - "regular-step": { - "mapping": { - "properties": { - "name": "string-steps-context", - "id": "non-empty-string", - "uses": { - "type": "non-empty-string", - "required": true - }, - "with": "step-with", - "env": "step-env" - } + "item-type": "any" } }, "container-runs-context": { @@ -192,51 +157,6 @@ "string": { "require-non-empty": true } - }, - "string-steps-context": { - "context": [ - "github", - "strategy", - "matrix", - "steps", - "job", - "runner", - "env", - "hashFiles(1,255)" - ], - "string": {} - }, - "step-env": { - "context": [ - "github", - "strategy", - "matrix", - "steps", - "job", - "runner", - "env", - "hashFiles(1,255)" - ], - "mapping": { - "loose-key-type": "non-empty-string", - "loose-value-type": "string" - } - }, - "step-with": { - "context": [ - "github", - "strategy", - "matrix", - "steps", - "job", - "runner", - "env", - "hashFiles(1,255)" - ], - "mapping": { - "loose-key-type": "non-empty-string", - "loose-value-type": "string" - } } } } \ No newline at end of file