9090fail-fast :false
9191matrix :
9292version :[3.14, 3.13, 3.12, 3.11, '3.10', 3.9]
93- format :[html,latex , epub]
93+ format :[html,dist-pdf , epub]
9494needs :['update']
9595steps :
9696 -uses :actions/setup-python@master
@@ -109,6 +109,10 @@ jobs:
109109 -run :git pull
110110working-directory :./Doc/locales/pl/LC_MESSAGES
111111 -uses :sphinx-doc/github-problem-matcher@v1.1
112+ -run :sudo apt-get update
113+ if :matrix.format == 'dist-pdf'
114+ -run :sudo apt-get install -y latexmk texlive-xetex fonts-freefont-otf xindy
115+ if :matrix.format == 'dist-pdf'
112116 -run :make -e SPHINXOPTS="--color -D language='pl' -W --keep-going" ${{ matrix.format }}
113117working-directory :./Doc
114118 -uses :actions/upload-artifact@master
@@ -117,24 +121,6 @@ jobs:
117121name :build-${{ matrix.version }}-${{ matrix.format }}
118122path :Doc/build/${{ matrix.format }}
119123
120- output-pdf :
121- runs-on :ubuntu-latest
122- strategy :
123- matrix :
124- version :[3.14, 3.13, 3.12, 3.11, '3.10', 3.9]
125- needs :['build']
126- steps :
127- -uses :actions/download-artifact@master
128- with :
129- name :build-${{ matrix.version }}-latex
130- -run :sudo apt-get update
131- -run :sudo apt-get install -y latexmk texlive-xetex fonts-freefont-otf xindy
132- -run :make
133- -uses :actions/upload-artifact@master
134- with :
135- name :build-${{ matrix.version }}-pdf
136- path :.
137-
138124lint-epub :
139125runs-on :ubuntu-latest
140126strategy :