2019-10-10 00:52:42 -04:00
|
|
|
{
|
|
|
|
|
"definitions": {
|
|
|
|
|
"action-root": {
|
|
|
|
|
"description": "Action file",
|
|
|
|
|
"mapping": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"name": "string",
|
|
|
|
|
"description": "string",
|
|
|
|
|
"inputs": "inputs",
|
|
|
|
|
"runs": "runs"
|
|
|
|
|
},
|
|
|
|
|
"loose-key-type": "non-empty-string",
|
|
|
|
|
"loose-value-type": "any"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"inputs": {
|
|
|
|
|
"mapping": {
|
|
|
|
|
"loose-key-type": "non-empty-string",
|
|
|
|
|
"loose-value-type": "input"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"input": {
|
|
|
|
|
"mapping": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"default": "input-default-context"
|
|
|
|
|
},
|
|
|
|
|
"loose-key-type": "non-empty-string",
|
|
|
|
|
"loose-value-type": "any"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"runs": {
|
|
|
|
|
"one-of": [
|
|
|
|
|
"container-runs",
|
|
|
|
|
"node12-runs",
|
2020-06-10 17:50:14 -04:00
|
|
|
"plugin-runs",
|
|
|
|
|
"composite-runs"
|
2019-10-10 00:52:42 -04:00
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"container-runs": {
|
|
|
|
|
"mapping": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"using": "non-empty-string",
|
|
|
|
|
"image": "non-empty-string",
|
|
|
|
|
"entrypoint": "non-empty-string",
|
|
|
|
|
"args": "container-runs-args",
|
|
|
|
|
"env": "container-runs-env",
|
2020-04-13 21:46:30 -04:00
|
|
|
"pre-entrypoint": "non-empty-string",
|
|
|
|
|
"pre-if": "non-empty-string",
|
2019-10-10 00:52:42 -04:00
|
|
|
"post-entrypoint": "non-empty-string",
|
|
|
|
|
"post-if": "non-empty-string"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"container-runs-args": {
|
|
|
|
|
"sequence": {
|
|
|
|
|
"item-type": "container-runs-context"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"container-runs-env": {
|
|
|
|
|
"context": [
|
|
|
|
|
"inputs"
|
|
|
|
|
],
|
|
|
|
|
"mapping": {
|
|
|
|
|
"loose-key-type": "non-empty-string",
|
|
|
|
|
"loose-value-type": "string"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"node12-runs": {
|
|
|
|
|
"mapping": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"using": "non-empty-string",
|
|
|
|
|
"main": "non-empty-string",
|
2020-04-13 21:46:30 -04:00
|
|
|
"pre": "non-empty-string",
|
|
|
|
|
"pre-if": "non-empty-string",
|
2019-10-10 00:52:42 -04:00
|
|
|
"post": "non-empty-string",
|
|
|
|
|
"post-if": "non-empty-string"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"plugin-runs": {
|
|
|
|
|
"mapping": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"plugin": "non-empty-string"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-06-10 17:50:14 -04:00
|
|
|
"composite-runs": {
|
|
|
|
|
"mapping" : {
|
|
|
|
|
"properties": {
|
|
|
|
|
"using": "non-empty-string",
|
|
|
|
|
"steps": "steps"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-06-11 10:37:29 -04:00
|
|
|
"steps": {
|
|
|
|
|
"sequence": {
|
|
|
|
|
"item-type": "steps-item"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"steps-item": {
|
2020-06-15 10:09:05 -04:00
|
|
|
"one-of": [
|
|
|
|
|
"run-step"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"run-step": {
|
|
|
|
|
"mapping": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"run": "non-empty-string"
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-06-10 17:50:14 -04:00
|
|
|
},
|
2019-10-10 00:52:42 -04:00
|
|
|
"container-runs-context": {
|
|
|
|
|
"context": [
|
|
|
|
|
"inputs"
|
|
|
|
|
],
|
|
|
|
|
"string": {}
|
|
|
|
|
},
|
|
|
|
|
"input-default-context": {
|
|
|
|
|
"context": [
|
|
|
|
|
"github",
|
|
|
|
|
"strategy",
|
|
|
|
|
"matrix",
|
|
|
|
|
"job",
|
2020-03-18 12:08:51 -04:00
|
|
|
"runner",
|
|
|
|
|
"hashFiles(1,255)"
|
2019-10-10 00:52:42 -04:00
|
|
|
],
|
|
|
|
|
"string": {}
|
|
|
|
|
},
|
|
|
|
|
"non-empty-string": {
|
|
|
|
|
"string": {
|
|
|
|
|
"require-non-empty": true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|