Skip to content

Commit cb34698

Browse files
Noizefieldclaude
andcommitted
Fix detect-plugins output: use compact jq to avoid multi-line GITHUB_OUTPUT
jq -s . pretty-prints the JSON array across multiple lines. GitHub Actions rejects multi-line values written with the key=value syntax to GITHUB_OUTPUT. Changed to jq -sc . so the array stays on one line. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 50b4670 commit cb34698

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
echo "$CHANGED_FILES"
3939
4040
# Extract unique plugin names from changes in plugins/ directory
41-
PLUGINS=$(echo "$CHANGED_FILES" | grep -E "^plugins/" | cut -d'/' -f2 | sort -u | jq -R . | jq -s .)
41+
PLUGINS=$(echo "$CHANGED_FILES" | grep -E "^plugins/" | cut -d'/' -f2 | sort -u | jq -R . | jq -sc .)
4242
4343
echo "Detected plugins: $PLUGINS"
4444
echo "plugins=$PLUGINS" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)