Skip to content

Commit

Permalink
gha. checking result
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelSinelnik committed Dec 5, 2024
1 parent 5e65ceb commit 2acd80f
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/update-clients.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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<<EOF' >> $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<<EOF' >> $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
Expand Down

0 comments on commit 2acd80f

Please sign in to comment.