fixed multiline
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user