Skip to content

Commit 03245e4

Browse files
authored
Add cacheDirs to action definition JSON schema (#178)
* Add cacheDirs to action definition JSON schema * Incorporate feedback
1 parent febc759 commit 03245e4

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

schema/action_stringdata.go

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

schema/actions.schema.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"enum": ["command", "docker"]
3737
},
3838
"args": {
39-
"description": "The command to execute.",
39+
"description": "The command and its argument to execute if \"type\" is \"command\", or a list of arguments to be passed to the Docker container if \"type\" is \"docker\".",
4040
"type": "array",
4141
"minItems": 1,
4242
"items": {
@@ -47,6 +47,13 @@
4747
"description": "The Docker image handle for running the container executing this step. Just like when running `docker run`, `args` here override the default `CMD` to be executed.",
4848
"type": "string",
4949
"minLength": 1
50+
},
51+
"cacheDirs": {
52+
"description": "Names of directories to create in a temporary location and mount into each \"docker\" step container under the specified name.",
53+
"type": "array",
54+
"items": {
55+
"type": "string"
56+
}
5057
}
5158
},
5259
"oneOf": [

0 commit comments

Comments
 (0)