-
Notifications
You must be signed in to change notification settings - Fork 74
48 lines (40 loc) · 1.2 KB
/
build.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
name: Проверка документации
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: "ubuntu-20.04"
strategy:
matrix:
language:
- "ru"
steps:
- name: "Получение php/doc-${{ matrix.language }}"
uses: "actions/checkout@v4"
with:
path: "${{ matrix.language }}"
repository: "php/doc-${{ matrix.language }}"
- name: "Получение php/doc-en"
uses: "actions/checkout@v4"
with:
path: "en"
repository: "php/doc-en"
- name: "Получение php/doc-base"
uses: "actions/checkout@v4"
with:
path: "doc-base"
repository: "php/doc-base"
- name: "Сборка документации для языка ${{ matrix.language }}"
run: "php8.0 doc-base/configure.php --disable-libxml-check --enable-xml-details --redirect-stderr-to-stdout --with-lang=${{ matrix.language }}"
- name: "Загрузка .manual.xml"
uses: actions/upload-artifact@v3
with:
name: .manual.xml
path: doc-base/.manual.xml