From faf162fb6303bddae9e0101d6015cc133d8cbcfd Mon Sep 17 00:00:00 2001 From: cxfksword <718792+cxfksword@users.noreply.github.com> Date: Thu, 8 Oct 2026 14:37:40 +0800 Subject: [PATCH] ci: support multiline tag messages in publish workflow Use heredoc-style GITHUB_OUTPUT to avoid invalid format errors when the release changelog contains newlines. --- .github/workflows/publish.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index ce20fc0..1094979 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -45,7 +45,11 @@ jobs: VERSION="$VERSION.0" CHANGE_LOG=$(git tag -l '--format=%(contents)' ${{ github.ref_name }}) echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT - echo "CHANGE_LOG=${CHANGE_LOG}" >> $GITHUB_OUTPUT + { + echo "CHANGE_LOG<> $GITHUB_OUTPUT echo "APP_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_OUTPUT - name: Build run: |