Update po files
[phpmyadmin.git] / .github / workflows / other-tools.yml
blob95d3a48b96a07a963e4d7dec0a6eace8a91c91c1
1 name: Check other tools and scripts
3 on:
4   push:
5   pull_request:
6     types: [opened, synchronize, reopened]
7     branches:
8       - master
9       - QA_**
11 permissions:
12   contents: read
14 jobs:
15   build-documentation:
16     runs-on: ubuntu-latest
17     steps:
18       - name: Checkout code
19         uses: actions/checkout@v4
21       - name: Install Sphinx for the documentation build
22         run: sudo apt install sphinx-doc python3-sphinx
24       - name: Build the documentation
25         run: make -C docs html SPHINXOPTS='-n -W -a'
27   build-release:
28     runs-on: ubuntu-latest
29     strategy:
30       matrix:
31         php-version: ["8.1"]
32     steps:
33       - name: Checkout code
34         uses: actions/checkout@v4
36       - name: Install gettext
37         run: sudo apt-get install -y gettext
39       - name: Set up PHP ${{ matrix.php-version }}
40         uses: shivammathur/setup-php@v2
41         with:
42           php-version: ${{ matrix.php-version }}
43           extensions: mbstring, iconv, mysqli, zip, gd
44           tools: composer:v2
46       - name: Install Composer dependencies
47         uses: ramsey/composer-install@v3
49       - name: Set up Node
50         uses: actions/setup-node@v4
51         with:
52           node-version: '16'
53           cache: 'yarn'
55       - name: Set up Python
56         uses: actions/setup-python@v5
57         with:
58           python-version: '3.7'
60       - name: Install Sphinx for the documentation build
61         run: pip install 'Sphinx'
63       - name: Build the release
64         run: ./bin/internal/create-release.sh --ci