Skip to content

Commit

Permalink
gha. output all info
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelSinelnik committed Dec 5, 2024
1 parent caf4597 commit 9108866
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/update-clients.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
id: "get_title"
run: |
if [[ ${{ github.event_name == 'workflow_dispatch' }} ]]; then
title="${{ github.event.inputs.title }}"
echo "title=$title" >> "$GITHUB_OUTPUT"
pr_title="${{ github.event.inputs.title }}"
echo "title=$pr_title" >> "$GITHUB_OUTPUT"
else
title="${{ github.event.pull_request.title }}"
echo "title=$title" >> "$GITHUB_OUTPUT"
pr_title="${{ github.event.pull_request.title }}"
echo "title=$pr_title" >> "$GITHUB_OUTPUT"
fi
update-js-client:
needs: getting-title
Expand All @@ -46,6 +46,9 @@ jobs:
- name: Echo title
working-directory: js-client
run: echo "${{ needs.getting-title.outputs.title }}"
env:
title: ${{ needs.getting-title.outputs.title }}
all: ${{ needs.getting-title.outputs }}
# - name: Update Model According To Specification
# working-directory: js-client
# run: |
Expand Down

0 comments on commit 9108866

Please sign in to comment.