fixed multiline

This commit is contained in:
2026-07-26 17:53:32 +02:00
parent 4b52d322de
commit 2cec4de32e
+4 -5
View File
@@ -39,11 +39,10 @@ jobs:
found { print }
' RELEASENOTES.md)
# Escape newlines for GitHub output
RELEASE_NOTES="${RELEASE_NOTES//'%'/'%25'}"
RELEASE_NOTES="${RELEASE_NOTES//$'\n'/'%0A'}"
RELEASE_NOTES="${RELEASE_NOTES//$'\r'/'%0D'}"
echo "body=$RELEASE_NOTES" >> "$GITHUB_OUTPUT"
# Write multi-line output properly
echo "body<<EOF" >> "$GITHUB_OUTPUT"
echo "$RELEASE_NOTES" >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
- name: Compile Spearhead
uses: https://git.dutchie031.com/dutchie031/DcsMissionScriptingTools/github-action@action/v0