Merge pull request #247 from shink/list-targets/files

list-targets: Allow passing multi-line files
This commit is contained in:
CrazyMax
2024-10-08 11:09:18 +02:00
committed by GitHub
4 changed files with 54 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
group "default" {
targets = ["t3"]
}
target "t3" {
name = "${item.tag}"
matrix = {
item = t3
}
args = {
VERSION = "${item.version}"
DUMMY_ARG = "${item.arg}"
}
tags = ["${item.tag}"]
}

View File

@@ -0,0 +1,14 @@
{
"t3": [
{
"version": "v1",
"arg": "v1-value",
"tag": "v1-tag"
},
{
"version": "v2",
"arg": "v2-value",
"tag": "v2-tag"
}
]
}