mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
Add 'uses' and 'with' to action yaml and change names to be consistent with workflow yaml
This commit is contained in:
@@ -123,7 +123,13 @@
|
||||
"item-type": "composite-step"
|
||||
}
|
||||
},
|
||||
"composite-step": {
|
||||
"steps-item": {
|
||||
"one-of": [
|
||||
"run-step",
|
||||
"regular-step"
|
||||
]
|
||||
},
|
||||
"run-step": {
|
||||
"mapping": {
|
||||
"properties": {
|
||||
"name": "string-steps-context",
|
||||
@@ -132,12 +138,26 @@
|
||||
"type": "string-steps-context",
|
||||
"required": true
|
||||
},
|
||||
"env": "step-env",
|
||||
"uses": "env": "step-env",
|
||||
"working-directory": "string-steps-context",
|
||||
"shell": "string-steps-context"
|
||||
}
|
||||
}
|
||||
},
|
||||
"regular-step": {
|
||||
"mapping": {
|
||||
"properties": {
|
||||
"name": "string-steps-context",
|
||||
"id": "non-empty-string",
|
||||
"uses": {
|
||||
"type": "non-empty-string",
|
||||
"required": true
|
||||
},
|
||||
"with": "step-with",
|
||||
"env": "step-env"
|
||||
}
|
||||
}
|
||||
},
|
||||
"container-runs-context": {
|
||||
"context": [
|
||||
"inputs"
|
||||
|
||||
Reference in New Issue
Block a user