File tree Expand file tree Collapse file tree 2 files changed +31
-2
lines changed Expand file tree Collapse file tree 2 files changed +31
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Pre-testing checks
2
+
3
+ on :
4
+ push :
5
+ branches : [ develop ]
6
+ pull_request :
7
+ branches : [ develop ]
8
+ workflow_dispatch :
9
+
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout code
15
+ run : echo "Success"
Original file line number Diff line number Diff line change 3
3
# All rights reserved.
4
4
5
5
name : Тестирование
6
- # Любой пуш и pr в проекте
7
- on : [push, pull_request]
6
+
7
+ on :
8
+ workflow_run :
9
+ workflows : ["Pre-testing checks"]
10
+ types :
11
+ - completed
12
+
13
+ permissions :
14
+ checks : write
15
+ contents : read
8
16
9
17
jobs :
10
18
test :
19
+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
11
20
runs-on : ${{ matrix.os }}
12
21
strategy :
13
22
matrix :
17
26
os : [windows-latest, ubuntu-22.04]
18
27
locale : ['ru_RU']
19
28
fail-fast : false
29
+
20
30
steps :
21
31
- name : Установка локали
22
32
if : matrix.os == startsWith(matrix.os, 'windows')
28
38
29
39
- name : Актуализация
30
40
41
+ with :
42
+ fetch-depth : 0
43
+ repository : ${{ github.event.workflow_run.head_repository.full_name }}
44
+ ref : ${{ github.event.workflow_run.head_sha }}
31
45
32
46
# Установка OneScript конкретной версии
33
47
- name : Установка OneScript
You can’t perform that action at this time.
0 commit comments