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 } found { print }
' RELEASENOTES.md) ' RELEASENOTES.md)
# Escape newlines for GitHub output # Write multi-line output properly
RELEASE_NOTES="${RELEASE_NOTES//'%'/'%25'}" echo "body<<EOF" >> "$GITHUB_OUTPUT"
RELEASE_NOTES="${RELEASE_NOTES//$'\n'/'%0A'}" echo "$RELEASE_NOTES" >> "$GITHUB_OUTPUT"
RELEASE_NOTES="${RELEASE_NOTES//$'\r'/'%0D'}" echo "EOF" >> "$GITHUB_OUTPUT"
echo "body=$RELEASE_NOTES" >> "$GITHUB_OUTPUT"
- name: Compile Spearhead - name: Compile Spearhead
uses: https://git.dutchie031.com/dutchie031/DcsMissionScriptingTools/github-action@action/v0 uses: https://git.dutchie031.com/dutchie031/DcsMissionScriptingTools/github-action@action/v0