mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-24 03:12:07 +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
|
if [ -f "$notes_file" ]; then
|
||||||
notes_content=$(cat "$notes_file")
|
notes_content=$(cat "$notes_file")
|
||||||
else
|
else
|
||||||
notes_content="Automated build for ${GITHUB_REPOSITORY}.
|
printf -v notes_content '%s\n\n%s\n%s\n%s\n\n%s' \
|
||||||
|
"Automated build for ${GITHUB_REPOSITORY}." \
|
||||||
- Ref: ${GITHUB_REF_NAME}
|
"- Ref: ${GITHUB_REF_NAME}" \
|
||||||
- Commit: ${GITHUB_SHA}
|
"- Commit: ${GITHUB_SHA}" \
|
||||||
- Version: V${version}
|
"- Version: V${version}" \
|
||||||
|
"macOS artifacts published from this fork are unsigned and not notarized."
|
||||||
macOS artifacts published from this fork are unsigned and not notarized."
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user