mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-11 14:33:04 +00:00
Fix YAML syntax in publish_release workflow
Use printf -v for fallback release notes to keep all lines properly indented within the YAML run block.
This commit is contained in:
13
.github/workflows/build_all.yml
vendored
13
.github/workflows/build_all.yml
vendored
@@ -98,13 +98,12 @@ jobs:
|
||||
if [ -f "$notes_file" ]; then
|
||||
notes_content=$(cat "$notes_file")
|
||||
else
|
||||
notes_content="Automated build for ${GITHUB_REPOSITORY}.
|
||||
|
||||
- Ref: ${GITHUB_REF_NAME}
|
||||
- Commit: ${GITHUB_SHA}
|
||||
- Version: V${version}
|
||||
|
||||
macOS artifacts published from this fork are unsigned and not notarized."
|
||||
printf -v notes_content '%s\n\n%s\n%s\n%s\n\n%s' \
|
||||
"Automated build for ${GITHUB_REPOSITORY}." \
|
||||
"- Ref: ${GITHUB_REF_NAME}" \
|
||||
"- Commit: ${GITHUB_SHA}" \
|
||||
"- Version: V${version}" \
|
||||
"macOS artifacts published from this fork are unsigned and not notarized."
|
||||
fi
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user