forked from jihyungSong/github-action-course
-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (64 loc) · 1.44 KB
/
ch3_job_concurrency_3.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
name: PART3 - CH3 - Concurrency Job with 2 Groups
on: workflow_dispatch
jobs:
job-1:
name: Concurrency Job Test 1
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-1
steps:
- id: checkout
name: Checkout
uses: actions/checkout@v3
- id: test-1
name: Test 1
run: echo "Test 1"
- id: test-2
name: Test 2
run: echo "Test 2"
job-2:
name: Concurrency Job Test 2
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-1
steps:
- id: checkout
name: Checkout
uses: actions/checkout@v3
- id: test-3
name: Test 3
run: echo "Test 3"
- id: test-4
name: Test 4
run: echo "Test 4"
job-3:
name: Concurrency Job Test 3
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-2
steps:
- id: checkout
name: Checkout
uses: actions/checkout@v3
- id: test-5
name: Test 5
run: echo "Test 5"
- id: test-6
name: Test 6
run: echo "Test 6"
job-4:
name: Concurrency Job Test 4
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-2
steps:
- id: checkout
name: Checkout
uses: actions/checkout@v3
- id: test-7
name: Test 7
run: echo "Test 7"
- id: test-8
name: Test 8
run: echo "Test 8"