From 7c7d06a159cae8dafcc491ccfcd082f736b97c21 Mon Sep 17 00:00:00 2001 From: Rad Date: Tue, 3 Mar 2026 03:41:52 +0100 Subject: [PATCH] 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. --- .github/workflows/build_all.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 702182882a..3f4d788606 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -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 {