1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

feat: loop over a matrix (#1767)

This commit is contained in:
Pete Davison
2024-09-02 20:29:00 +01:00
committed by GitHub
parent 1cb5daf73e
commit 281d259e6e
7 changed files with 145 additions and 18 deletions

View File

@@ -431,6 +431,9 @@
},
{
"$ref": "#/definitions/for_var"
},
{
"$ref": "#/definitions/for_matrix"
}
]
},
@@ -467,6 +470,12 @@
"additionalProperties": false,
"required": ["var"]
},
"for_matrix": {
"description": "A matrix of values to iterate over",
"type": "object",
"additionalProperties": true,
"required": ["matrix"]
},
"precondition": {
"anyOf": [
{