From a8665c90d26307ba5d5129b3df54e39a040b4ec9 Mon Sep 17 00:00:00 2001 From: PavelSinelnik Date: Tue, 17 Dec 2024 19:14:57 +0300 Subject: [PATCH] Gha. Getting commit message through the EOF --- .github/workflows/update-clients.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-clients.yml b/.github/workflows/update-clients.yml index 4bf2513..82cb282 100644 --- a/.github/workflows/update-clients.yml +++ b/.github/workflows/update-clients.yml @@ -20,7 +20,9 @@ jobs: if [[ ${{ github.event_name }} == 'workflow_dispatch' ]]; then echo "fmt_title=${{ github.event.inputs.title }}" >> "$GITHUB_OUTPUT" else - echo "fmt_title=$(${{ github.event.head_commit.message }} | head -n 1)" >> "$GITHUB_OUTPUT" + echo 'fmt_title<> $GITHUB_OUTPUT + ${{ github.event.head_commit.message }} | head -n 1 >> $GITHUB_OUTPUT + echo 'EOF' >> $GITHUB_OUTPUT fi update-js-client: