Skip to content

Commit 4df5d89

Browse files
authored
muti event
1 parent 6fc796c commit 4df5d89

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/multi event

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: multi event test
2+
3+
on:
4+
issue:
5+
pull_request:
6+
7+
jobs:
8+
my job 1 :
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: run a command
12+
run: |
13+
echo "REF: $GITHUB_REF"
14+
echo "Job ID: $GITHUB_JOB"
15+
echo "Action: $GITHUB_ACTION"
16+
echo "Actor: $GITHUB_ACTOR"
17+
18+
my job 2 :
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: say my name
22+
run: echo "my name is $(whoami)"
23+

0 commit comments

Comments
 (0)