Skip to content

Commit 8d35639

Browse files
committed
ci: add workflow with needs
1 parent 8b3fb9e commit 8d35639

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Workflow with needs on jobs
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Fake build
11+
run: echo "Build"
12+
13+
publish-artifact:
14+
runs-on: ubuntu-latest
15+
needs: [ build ]
16+
17+
steps:
18+
- name: Upload build artifact
19+
run: echo "Fake upload"
20+

0 commit comments

Comments
 (0)