@@ -2,8 +2,7 @@ name: Test Build Workflow
2
2
3
3
on :
4
4
schedule :
5
- -cron :' 30 14 * * *' # Runs every day at 2:30 PM UTC
6
-
5
+ -cron :' 0 0 * * *'
7
6
push :
8
7
branches :
9
8
-' *'
@@ -15,21 +14,21 @@ jobs:
15
14
strategy :
16
15
fail-fast :false
17
16
matrix :
18
- version :[ '3.14.0-rc.2' ]
17
+ version :[ '3.14', allow-prereleases: True ]
19
18
format :[ html, latex ]
20
19
steps :
21
20
-uses :actions/setup-python@master
22
21
with :
23
- python-version :3.14.0-rc.2 # pinned for Sphinx 3.4.3 to build 3.10
22
+ python-version :3.12 # pinned for Sphinx 3.4.3 to build 3.10
24
23
-uses :actions/checkout@master
25
24
with :
26
25
repository :python/cpython
27
- ref :3.14
26
+ ref :${{ matrix.version }}
28
27
-run :make venv
29
28
working-directory :./Doc
30
29
-uses :actions/checkout@master
31
30
with :
32
- ref :3.14
31
+ ref :${{ matrix.version }}
33
32
path :Doc/locales/sv/LC_MESSAGES
34
33
-run :git pull
35
34
working-directory :./Doc/locales/sv/LC_MESSAGES
@@ -40,22 +39,22 @@ jobs:
40
39
if :success() || failure()
41
40
with :
42
41
name :build-${{ matrix.version }}-${{ matrix.format }}
43
- path :Doc/build/html
42
+ path :Doc/build/${{ matrix.format }}
44
43
45
44
output-pdf :
46
45
runs-on :ubuntu-latest
47
46
strategy :
48
47
matrix :
49
- version :[ '3.14.0-rc.2 ' ]
48
+ version :[ '3.14' ]
50
49
needs :[ 'build-translation' ]
51
50
steps :
52
51
-uses :actions/download-artifact@master
53
52
with :
54
- name :build-3.14 -latex
53
+ name :build-${{ matrix.version }} -latex
55
54
-run :sudo apt-get update
56
55
-run :sudo apt-get install -y latexmk texlive-xetex fonts-freefont-otf xindy
57
56
-run :make
58
57
-uses :actions/upload-artifact@master
59
58
with :
60
- name :build-3.14 -pdf
59
+ name :build-${{ matrix.version }} -pdf
61
60
path :.