Maybe this thread is the right place to ask a usage question: I have a multiline GitHub Secret which I would like to print out to a `.env` file in a GitHub Action. How can I do that?
My current solution doesn't support spaces within the secret content:
`echo "$ENV_FILE"`, maybe? `echo $ENV_FILE` (without quotes) will split the environment variable by separators in $IFS and pass each chunk as separate argument.
My current solution doesn't support spaces within the secret content:
Writing a multiline secret string directly into a file replaces all newlines with spaces. The `tr` command converts them back to newlines.