Skip to content

Commit

Permalink
Read the output from the called workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinMind committed Jun 25, 2024
1 parent b427f91 commit 51f72f8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,14 @@ jobs:
number: ${{ fromJson(needs.context.outputs.number) }}
string: ${{ needs.context.outputs.string }}
optional: ${{ needs.context.outputs.optional }}

read_worker:
needs: call_worker
runs-on: ubuntu-latest

steps:
- shell: bash
run: |
cat <<EOF
${{ toJson(needs.call_worker) }}
EOF

0 comments on commit 51f72f8

Please sign in to comment.