From fee6feb09e148520c70b5a9688379e30271efd42 Mon Sep 17 00:00:00 2001 From: jason5ng32 Date: Thu, 31 Oct 2024 11:08:20 +0800 Subject: [PATCH] Improvements --- .github/workflows/docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 4ef13b1b..88d53e70 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -37,8 +37,8 @@ jobs: - name: Get the version and release notes if: github.event_name == 'release' run: | - echo "RELEASE_VERSION=${{ github.event.release.tag_name }}" >> $GITHUB_ENV - echo "RELEASE_NOTES=${{ github.event.release.body }}" >> $GITHUB_ENV + printf "RELEASE_VERSION=%s\n" "${{ github.event.release.tag_name }}" >> $GITHUB_ENV + printf "RELEASE_NOTES<> $GITHUB_ENV - name: Set version for manual dispatch if: github.event_name == 'workflow_dispatch'