Skip to content

Commit 51f72f8

Browse files
committed
Read the output from the called workflow
1 parent b427f91 commit 51f72f8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/default.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,14 @@ jobs:
6262
number: ${{ fromJson(needs.context.outputs.number) }}
6363
string: ${{ needs.context.outputs.string }}
6464
optional: ${{ needs.context.outputs.optional }}
65+
66+
read_worker:
67+
needs: call_worker
68+
runs-on: ubuntu-latest
69+
70+
steps:
71+
- shell: bash
72+
run: |
73+
cat <<EOF
74+
${{ toJson(needs.call_worker) }}
75+
EOF

0 commit comments

Comments
 (0)