|
15 | 15 |
|
16 | 16 | name: Build ${{ matrix.manual.name }} |
17 | 17 | runs-on: ubuntu-latest |
| 18 | + container: |
| 19 | + image: ghcr.io/nextcloud/continuous-integration-documentation:documentation-16 |
18 | 20 |
|
19 | 21 | strategy: |
20 | 22 | matrix: |
@@ -57,33 +59,15 @@ jobs: |
57 | 59 |
|
58 | 60 | - name: Checkout repository |
59 | 61 | uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
60 | | - |
61 | | - - name: Install LaTeX dependencies |
62 | | - if: ${{ matrix.manual.build_pdf_path }} |
63 | | - run: | |
64 | | - sudo DEBIAN_FRONTEND=noninteractive apt-get update |
65 | | - sudo DEBIAN_FRONTEND=noninteractive apt-get install -y \ |
66 | | - python3-pil \ |
67 | | - python3-pip \ |
68 | | - texlive-fonts-recommended \ |
69 | | - latexmk \ |
70 | | - texlive-latex-extra \ |
71 | | - texlive-latex-recommended \ |
72 | | - texlive-xetex \ |
73 | | - texlive-fonts-extra-links \ |
74 | | - texlive-fonts-extra \ |
75 | | - xindy |
76 | | -
|
77 | | - - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 |
78 | | - with: |
79 | | - python-version: '3.12' |
80 | | - cache: 'pip' |
81 | | - |
82 | | - - name: Install pip dependencies |
83 | | - run: pip install -r requirements.txt |
84 | | - |
| 62 | + |
| 63 | + - name: Verify Python version |
| 64 | + run: python3 --version |
| 65 | + |
85 | 66 | - name: Build html documentation |
86 | | - run: cd ${{ matrix.manual.directory }} && make ${{ matrix.manual.make_target }} |
| 67 | + run: | |
| 68 | + pip install -r requirements.txt |
| 69 | + cd ${{ matrix.manual.directory }} |
| 70 | + make ${{ matrix.manual.make_target }} |
87 | 71 |
|
88 | 72 | - name: Compute PDF release version |
89 | 73 | if: ${{ matrix.manual.build_pdf_path }} |
|
101 | 85 | env: |
102 | 86 | DOCS_RELEASE: ${{ steps.pdf_version.outputs.release }} |
103 | 87 | run: | |
104 | | - set -e |
105 | 88 | cd ${{ matrix.manual.directory }} |
106 | 89 | make latexpdf |
107 | 90 | ls -la ${{ matrix.manual.build_pdf_path }} |
|
0 commit comments