docs: add type: python to workflow examples
This commit is contained in:
@@ -36,6 +36,7 @@ base_image: gis-base:latest
|
||||
steps:
|
||||
- id: step1
|
||||
name: 步骤1
|
||||
type: python
|
||||
script_id: run
|
||||
params:
|
||||
input: $params.input_path
|
||||
@@ -53,8 +54,10 @@ steps:
|
||||
```yaml
|
||||
steps:
|
||||
- id: step1
|
||||
type: python
|
||||
script_id: analyze
|
||||
- id: step2
|
||||
type: python
|
||||
script_id: report
|
||||
depends_on: [step1] # step2 等 step1 完成后才执行
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user