Skip to content

Commit d42c95e

Browse files
authored
Update test-build.yml
1 parent f3295ac commit d42c95e

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/test-build.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ name: Test Build Workflow
22

33
on:
44
schedule:
5-
- cron: '30 14 * * *' # Runs every day at 2:30 PM UTC
6-
5+
- cron: '0 0 * * *'
76
push:
87
branches:
98
- '*'
@@ -15,21 +14,21 @@ jobs:
1514
strategy:
1615
fail-fast: false
1716
matrix:
18-
version: [ '3.14.0-rc.2' ]
17+
version: [ '3.14', allow-prereleases: True ]
1918
format: [ html, latex ]
2019
steps:
2120
- uses: actions/setup-python@master
2221
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
2423
- uses: actions/checkout@master
2524
with:
2625
repository: python/cpython
27-
ref: 3.14
26+
ref: ${{ matrix.version }}
2827
- run: make venv
2928
working-directory: ./Doc
3029
- uses: actions/checkout@master
3130
with:
32-
ref: 3.14
31+
ref: ${{ matrix.version }}
3332
path: Doc/locales/sv/LC_MESSAGES
3433
- run: git pull
3534
working-directory: ./Doc/locales/sv/LC_MESSAGES
@@ -40,22 +39,22 @@ jobs:
4039
if: success() || failure()
4140
with:
4241
name: build-${{ matrix.version }}-${{ matrix.format }}
43-
path: Doc/build/html
42+
path: Doc/build/${{ matrix.format }}
4443

4544
output-pdf:
4645
runs-on: ubuntu-latest
4746
strategy:
4847
matrix:
49-
version: [ '3.14.0-rc.2' ]
48+
version: [ '3.14' ]
5049
needs: [ 'build-translation' ]
5150
steps:
5251
- uses: actions/download-artifact@master
5352
with:
54-
name: build-3.14-latex
53+
name: build-${{ matrix.version }}-latex
5554
- run: sudo apt-get update
5655
- run: sudo apt-get install -y latexmk texlive-xetex fonts-freefont-otf xindy
5756
- run: make
5857
- uses: actions/upload-artifact@master
5958
with:
60-
name: build-3.14-pdf
59+
name: build-${{ matrix.version }}-pdf
6160
path: .

0 commit comments

Comments
 (0)