Skip to content

Commit 6216873

Browse files
committed
dependent jobs
1 parent a3dd1ac commit 6216873

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "dependent jobs"
2+
3+
on: ['push']
4+
5+
jobs:
6+
job2:
7+
runs-on: ubuntu-latest
8+
needs: job1
9+
steps:
10+
- name: "step1"
11+
run: echo "World"
12+
job1:
13+
runs-on: ubuntu-latest
14+
- name "step2"
15+
run: echo "Hello"

0 commit comments

Comments
 (0)