From 1ac3db7d50d18847201c9781ac321bcb8a67901d Mon Sep 17 00:00:00 2001 From: Huawei Date: Wed, 15 Jul 2026 15:22:55 +0000 Subject: [PATCH] docs: add depends_on to workflow ref --- suite-developer/MEMORY.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/suite-developer/MEMORY.md b/suite-developer/MEMORY.md index 7f20d68..c0ae88e 100644 --- a/suite-developer/MEMORY.md +++ b/suite-developer/MEMORY.md @@ -48,6 +48,17 @@ steps: | `$params.xxx` | 引用套件输入参数 | `$params.input_path` | | `$steps.step_id.output_name` | 引用前一步骤输出 | `$steps.step1.result_path` | +### 步骤依赖 + +```yaml +steps: + - id: step1 + script_id: analyze + - id: step2 + script_id: report + depends_on: [step1] # step2 等 step1 完成后才执行 +``` + ### 常见错误 | ❌ 错误 | ✅ 正确 |