We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8235b4 commit 8572965Copy full SHA for 8572965
.github/workflows/publish-packages.yml
@@ -91,7 +91,7 @@ jobs:
91
done
92
93
# Format the output for GitHub Actions matrix using jq
94
- PACKAGES_JSON=$(printf '%s\n' "${CHANGED_PACKAGES[@]}" | jq -R . | jq -s .)
+ PACKAGES_JSON=$(jq -n '$ARGS.positional' --args "${CHANGED_PACKAGES[@]}" -c)
95
echo "matrix={\"package\":$PACKAGES_JSON}" >> $GITHUB_OUTPUT
96
fi
97
0 commit comments