mirror of
https://github.com/actions/runner.git
synced 2025-12-11 12:57:05 +00:00
106 lines
2.9 KiB
JSON
106 lines
2.9 KiB
JSON
{
|
|
"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",
|
|
"plugin-runs"
|
|
]
|
|
},
|
|
"container-runs": {
|
|
"mapping": {
|
|
"properties": {
|
|
"using": "non-empty-string",
|
|
"image": "non-empty-string",
|
|
"entrypoint": "non-empty-string",
|
|
"args": "container-runs-args",
|
|
"env": "container-runs-env",
|
|
"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",
|
|
"post": "non-empty-string",
|
|
"post-if": "non-empty-string"
|
|
}
|
|
}
|
|
},
|
|
"plugin-runs": {
|
|
"mapping": {
|
|
"properties": {
|
|
"plugin": "non-empty-string"
|
|
}
|
|
}
|
|
},
|
|
"container-runs-context": {
|
|
"context": [
|
|
"inputs"
|
|
],
|
|
"string": {}
|
|
},
|
|
"input-default-context": {
|
|
"context": [
|
|
"github",
|
|
"strategy",
|
|
"matrix",
|
|
"steps",
|
|
"job",
|
|
"runner",
|
|
"env"
|
|
],
|
|
"string": {}
|
|
},
|
|
"non-empty-string": {
|
|
"string": {
|
|
"require-non-empty": true
|
|
}
|
|
}
|
|
}
|
|
} |