Skip to content

Fix multi-line JSON output in convert-docs workflow#3

Merged
samuelduchesne merged 1 commit intomainfrom
claude/fix-workflow-output-format-hSRGj
Feb 24, 2026
Merged

Fix multi-line JSON output in convert-docs workflow#3
samuelduchesne merged 1 commit intomainfrom
claude/fix-workflow-output-format-hSRGj

Conversation

@samuelduchesne
Copy link
Copy Markdown
Contributor

The jq command in the prepare job's set-matrix step was producing
pretty-printed (multi-line) JSON. When written to $GITHUB_OUTPUT,
each line of the array (e.g. ' "v8.9.0",') was interpreted as a
separate output assignment, causing an "invalid format" error.

Add the -c (compact) flag to jq so the JSON array is emitted on a
single line.

https://claude.ai/code/session_01YTZahsc1h891ANXkvcPdRF

The jq command in the prepare job's set-matrix step was producing
pretty-printed (multi-line) JSON. When written to $GITHUB_OUTPUT,
each line of the array (e.g. '  "v8.9.0",') was interpreted as a
separate output assignment, causing an "invalid format" error.

Add the -c (compact) flag to jq so the JSON array is emitted on a
single line.

https://claude.ai/code/session_01YTZahsc1h891ANXkvcPdRF
@samuelduchesne samuelduchesne merged commit 96b0a6b into main Feb 24, 2026
2 checks passed
@samuelduchesne samuelduchesne deleted the claude/fix-workflow-output-format-hSRGj branch February 24, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants