We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8659ce4 commit 9cde3c9Copy full SHA for 9cde3c9
.github/workflows/pr_test_build_images.yaml
@@ -39,7 +39,7 @@ jobs:
39
git diff --name-only "${GIT_BASE_REF}..${GIT_HEAD_REF}" \
40
| cut --delimiter=/ --fields=1 | xargs -I {} find {} -type f -maxdepth 1 -name versions.toml \
41
| xargs -r dirname \
42
- | xargs -I {} tomlq --raw-output --arg product "{}" '{$product: .versions | map_values(select(.build_on_pr)) | keys[]}' {}/versions.toml \
+ | xargs -I {} tomlq --raw-output --arg product "{}" '{"name": $product, "version": .versions | map_values(select(.build_on_pr)) | keys[]}' {}/versions.toml \
43
| jq --slurp --compact-output '.'
44
)
45
echo "product_version_pairs=$PRODUCT_VERSION_PAIRS" | tee -a "$GITHUB_OUTPUT"
0 commit comments