Skip to content

Commit 4ae300b

Browse files
authored
Create first-workflow.yml
1 parent 10aa610 commit 4ae300b

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/first-workflow.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: First Workflow
2+
3+
on:
4+
workflow_dispatch:
5+
issues:
6+
types: [opened]
7+
8+
jobs:
9+
job1:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Step one
13+
run: echo "Log from step one"
14+
env:
15+
VARIABLE_NAME: value
16+
- name: Step two
17+
run: echo "Log from step two"
18+
19+
job2:
20+
needs: job1
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Cowsays
24+
uses: mscoutermarsh/cowsays-action@master
25+
with:
26+
text: 'Ready for prod--ship it!'
27+
color: 'magenta'

0 commit comments

Comments
 (0)