Skip to content

Commit 46ecb87

Browse files
committed
fix the issue
1 parent fe0f0a5 commit 46ecb87

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

.github/workflows/first-workflow.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
name: First Workflow
22

33
on:
4-
workflow_dispatch:
4+
workflow_dispatch:
5+
issues:
6+
types: [opened]
57

68
jobs:
7-
job1:
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: Echo Job 1
11-
run: echo "This is job 1"
9+
job1:
10+
runs-on: ubuntu-latest
1211

13-
job2:
14-
runs-on: ubuntu-latest
15-
steps:
16-
- name: Echo Job 2
17-
run: echo "This is job 2"
12+
steps:
13+
- name: Step one
14+
run: echo "Log from step one"
15+
- name: Step two
16+
run: echo "Log from step two"
17+
18+
job2:
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- name: Step two
23+
run: echo "Log from step two"

0 commit comments

Comments
 (0)