From 353cd424016a7bed40e350a32eda9c983920deb9 Mon Sep 17 00:00:00 2001 From: sqzw-x Date: Fri, 19 Jan 2024 17:39:41 +0800 Subject: [PATCH] CI: multiline log --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2b964be..a24af74 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -117,10 +117,9 @@ jobs: id: get-changelog if: ${{ matrix.build == 'macos' }} run: | - log=$(cat changelog.md) - cat <> $GITHUB_OUTPUT - CHANGELOG=$log - EOF + echo 'CHANGELOG<> $GITHUB_OUTPUT + cat changelog.md >> $GITHUB_OUTPUT + echo 'EOF' >> $GITHUB_OUTPUT - name: Create Release - macOS uses: svenstaro/upload-release-action@2.7.0