Skip to content

Commit fa84c1f

Browse files
committed
Jobs
1 parent 38e58a2 commit fa84c1f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/jobs.yml

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

0 commit comments

Comments
 (0)