From 2acd80fea9d63c7f2c244582fefb8322860b5afe Mon Sep 17 00:00:00 2001 From: PavelSinelnik Date: Thu, 5 Dec 2024 16:58:21 +0300 Subject: [PATCH] gha. checking result --- .github/workflows/update-clients.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-clients.yml b/.github/workflows/update-clients.yml index 5356964..44b4c05 100644 --- a/.github/workflows/update-clients.yml +++ b/.github/workflows/update-clients.yml @@ -17,12 +17,19 @@ jobs: - name: "Create output for title" run: | if [[ ${{ github.event_name == 'workflow_dispatch' }} ]]; then - title="${{ github.event.inputs.title }}" - echo "title=$title" >> "$GITHUB_ENV" + echo 'title<> $GITHUB_ENV + echo ${{ github.event.inputs.title }} >> $GITHUB_ENV + echo 'EOF' >> $GITHUB_ENV + else - title="${{ github.event.pull_request.title }}" - echo "title=$title" >> "$GITHUB_ENV" + echo 'title<> $GITHUB_ENV + echo ${{ github.event.pull_request.title }} >> $GITHUB_ENV + echo 'EOF' >> $GITHUB_ENV fi + + - name: Echo title + working-directory: js-client + run: echo "${{ env.title }}" update-js-client: needs: getting-title runs-on: ubuntu-latest