GitHub Actions GITHUB_ENV heredoc delimiter appears in the value
By Kaveh Alemi·Latchkey
The heredoc delimiter you used to write a multiline value to GITHUB_ENV also occurs inside the content, so the runner closes the block early and the rest of the value leaks as malformed lines.
What this error means
A multiline GITHUB_ENV write fails or yields a truncated variable because the chosen delimiter collided with the value.
github-actions
Error: Unable to process file command 'env' successfully.
Error: Matching delimiter not found 'EOF'
Common causes
Common delimiter inside the value
A predictable delimiter like EOF appears in logs or text being written, so the heredoc closes at the wrong place.
How to fix it
Use a random, unguessable delimiter
Generate a unique delimiter per write and reuse it for open and close.
Ensure the delimiter cannot appear in the content.