Skip to content

Commit 9cde3c9

Browse files
committed
ci(pr_test_build_images): Fix the tomlq output structure
1 parent 8659ce4 commit 9cde3c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr_test_build_images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
git diff --name-only "${GIT_BASE_REF}..${GIT_HEAD_REF}" \
4040
| cut --delimiter=/ --fields=1 | xargs -I {} find {} -type f -maxdepth 1 -name versions.toml \
4141
| xargs -r dirname \
42-
| xargs -I {} tomlq --raw-output --arg product "{}" '{$product: .versions | map_values(select(.build_on_pr)) | keys[]}' {}/versions.toml \
42+
| xargs -I {} tomlq --raw-output --arg product "{}" '{"name": $product, "version": .versions | map_values(select(.build_on_pr)) | keys[]}' {}/versions.toml \
4343
| jq --slurp --compact-output '.'
4444
)
4545
echo "product_version_pairs=$PRODUCT_VERSION_PAIRS" | tee -a "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)