fixed multiline #3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user