Skip to content

Commit 9ebccc1

Browse files
authored
Create reuse-workflow-output.yaml
1 parent 5ed62e9 commit 9ebccc1

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Call a reusable workflow and use its outputs
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
job1:
8+
uses: ./.github/workflows/reuse-workflow.yml@jwx0925-patch-9
9+
10+
job2:
11+
runs-on: ubuntu-latest
12+
needs: job1
13+
steps:
14+
- run: echo ${{ needs.job1.outputs.firstword }} ${{ needs.job1.outputs.secondword }}

0 commit comments

Comments
 (0)