docs: 更新文档匹配执行器 steps/params 格式 (#16)
- Workflow-规范.md: 添加 type: python 字段 - TOOLS.md: 添加 type: python 到示例 - 套件发布指南.md: 更新为 upload 端点 + tar.gz 上传方式 + 完整示例 - CLI-参考.md: gis-actions 版本 3.0.2 → 3.0.5
This commit is contained in:
@@ -32,6 +32,7 @@ env:
|
||||
steps:
|
||||
- id: step1
|
||||
name: 步骤名称
|
||||
type: python
|
||||
script_id: run
|
||||
params:
|
||||
input: $params.input_path
|
||||
@@ -55,6 +56,7 @@ steps:
|
||||
|------|------|------|
|
||||
| `id` | ✅ | 步骤唯一 ID |
|
||||
| `name` | ❌ | 步骤显示名称 |
|
||||
| `type` | ✅ | 步骤类型,当前固定为 `python` |
|
||||
| `script_id` | ✅ | 脚本 ID(对应 scripts/ 下的 .py 文件名,不含扩展名) |
|
||||
| `params` | ❌ | 步骤参数,值中使用 `$params.xxx` 引用用户输入 |
|
||||
| `depends_on` | ❌ | 依赖的步骤 ID 列表,控制执行顺序 |
|
||||
|
||||
Reference in New Issue
Block a user