Skip to content

Commit 7b57a0b

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! Experiment with generating multiple jobs for tests
Signed-off-by: Jakub Stejskal <[email protected]>
1 parent 906e621 commit 7b57a0b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/actions/generate-matrix/action.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ runs:
8686
'$profiles | map({agent: $agent, arch: $arch, jdk_version: $jdk, profile: ., strimzi_use_feature_gates: $fg, strimzi_rbac_scope: $rbac, cluster_operator_install_type: $coi})')
8787
fi
8888
89-
echo "matrix=$MATRIX" >> $GITHUB_OUTPUT
89+
# Use jq -c to produce compact (one-line) JSON output.
90+
COMPACT_MATRIX=$(echo "$MATRIX" | jq -c '.')
91+
echo "matrix=$COMPACT_MATRIX" >> $GITHUB_OUTPUT
9092
echo "Generated matrix: $MATRIX"
9193
env:
9294
INPUT_PIPELINES: "${{ inputs.pipelines }}"

0 commit comments

Comments
 (0)