Skip to content

Commit a8bab10

Browse files
Create dependent-jobs.yml
1 parent 89c8800 commit a8bab10

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Workflow to learn about dependent jobs
2+
3+
on:
4+
push
5+
6+
jobs:
7+
job1:
8+
runs-on: windows
9+
steps:
10+
- run: |
11+
echo "World"
12+
13+
job2:
14+
runs-on: ubuntu-latest
15+
needs: job1
16+
steps:
17+
- run: |
18+
echo "Hello"

0 commit comments

Comments
 (0)