Skip to content

Commit f0eee7e

Browse files
committed
fix: outputting matrix
1 parent 1c2f8d9 commit f0eee7e

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

pi/diff.sh

+1-7
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,6 @@ for parent_image_type in "${UPDATED_PARENT_TYPES[@]}"; do
3737
done
3838
done
3939

40-
MATRIX=$(cat <<EOF
41-
{
42-
"parent_image_type": [${PARENT_IMAGE_TYPES::-1}],
43-
"include": [${INCLUDES::-1}]
44-
}
45-
EOF
46-
)
40+
MATRIX='{"parent_image_type": ['${PARENT_IMAGE_TYPES::-1}'],"include": ['${INCLUDES::-1}']}'
4741
echo $MATRIX | jq -c --indent 2 '.'
4842
echo "matrix='$MATRIX'" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)