You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/stepactions.md
+10-11Lines changed: 10 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -120,17 +120,16 @@ kind: Task
120
120
metadata:
121
121
name: step-action
122
122
spec:
123
-
taskSpec:
124
-
params:
125
-
- name: param-for-step-action
126
-
description: "this is a param that the step action needs."
127
-
steps:
128
-
- name: action-runner
129
-
ref:
130
-
name: step-action
131
-
params:
132
-
- name: step-action-param
133
-
value: $(params.param-for-step-action)
123
+
params:
124
+
- name: param-for-step-action
125
+
description: "this is a param that the step action needs."
126
+
steps:
127
+
- name: action-runner
128
+
ref:
129
+
name: step-action
130
+
params:
131
+
- name: step-action-param
132
+
value: $(params.param-for-step-action)
134
133
```
135
134
136
135
**Note:** If a `Step` declares `params` for an `inlined Step`, it will also lead to a validation error. This is because an `inlined Step` gets its `params` from the `TaskRun`.
0 commit comments