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:
2026-07-14 13:17:21 +08:00
parent 8c59a5d5cd
commit 78bd6c2e9d
4 changed files with 39 additions and 16 deletions
@@ -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 列表,控制执行顺序 |