File tree Expand file tree Collapse file tree 3 files changed +64
-0
lines changed Expand file tree Collapse file tree 3 files changed +64
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Lan test a
2
+
3
+ on :
4
+ pull_request :
5
+
6
+ jobs :
7
+ pre-test :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Pre-test
11
+ run : |
12
+ echo "Pre-test"
13
+ echo "${{ github.workflow }}-a-${{ github.event.pull_request.number || github.ref_name }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}-${{ inputs.job-name }}"
14
+
15
+ call-b :
16
+ uses : ./.github/workflows/workflow-b.yml
17
+
18
+ call-c :
19
+ uses : ./.github/workflows/workflow-c.yml
20
+
21
+ wait-all-jobs :
22
+ needs : [call-b, call-c]
23
+ runs-on : ubuntu-latest
24
+ steps :
25
+ - name : Wait for all jobs to complete
26
+ run : |
27
+ echo "Waiting for all jobs to complete..."
28
+
29
+ concurrency :
30
+ group : ${{ github.workflow }}-a-${{ github.event.pull_request.number || github.ref_name }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}-${{ inputs.job-name }}
31
+ cancel-in-progress : true
32
+
Original file line number Diff line number Diff line change
1
+ name : Lan test b
2
+
3
+ on :
4
+ workflow_call :
5
+
6
+ jobs :
7
+ test-b :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Test b
11
+ run : |
12
+ echo "Test b"
13
+
14
+ concurrency :
15
+ group : ${{ github.workflow }}-b-${{ github.event.pull_request.number || github.ref_name }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}-${{ inputs.job-name }}
16
+ cancel-in-progress : true
Original file line number Diff line number Diff line change
1
+ name : Lan test c
2
+
3
+ on :
4
+ workflow_call :
5
+
6
+ jobs :
7
+ test-b :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Test c
11
+ run : |
12
+ echo "Test c"
13
+
14
+ concurrency :
15
+ group : ${{ github.workflow }}-c-${{ github.event.pull_request.number || github.ref_name }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}-${{ inputs.job-name }}
16
+ cancel-in-progress : true
You can’t perform that action at this time.
0 commit comments