FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

branch-drift.yml -> improved, avoiding check triggered by each push · python/python-docs-de@7b79c6a · GitHub

Repository navigation

branch-drift.yml -> improved, avoiding check triggered by each push #115

branch-drift.yml -> improved, avoiding check triggered by each push

branch-drift.yml -> improved, avoiding check triggered by each push #115

Workflow file for this run

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
name: Test Build Workflow
# changed to 3.14, 3.15
on:
schedule:
- cron: '0 0 * * *'
push:
branches:
- '*'
workflow_dispatch:
jobs:
build-translation:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [ '3.15', '3.14' ]
format: [ html, latex ]
steps:
- uses: actions/setup-python@master
with:
python-version: 3.12 # pinned for Sphinx 3.4.3 to build 3.10
- uses: actions/checkout@master
with:
repository: python/cpython
ref: ${{ matrix.version }}
- run: make venv
working-directory: ./Doc
- name: Install rsvg-convert
run: sudo apt-get update && sudo apt-get install -y librsvg2-bin
- uses: actions/checkout@master
with:
ref: ${{ matrix.version }}
path: Doc/locales/de/LC_MESSAGES
- run: git pull
working-directory: ./Doc/locales/de/LC_MESSAGES
- uses: sphinx-doc/github-problem-matcher@v1.1
- run: make -e SPHINXOPTS="--color -D language='de' -W --keep-going" ${{ matrix.format }}
working-directory: ./Doc
- uses: actions/upload-artifact@master
if: success() || failure()
with:
name: build-${{ matrix.version }}-${{ matrix.format }}
path: Doc/build/${{ matrix.format }}
output-pdf:
runs-on: ubuntu-latest
strategy:
matrix:
version: [ '3.15', '3.14' ]
needs: [ 'build-translation' ]
steps:
- uses: actions/download-artifact@master
with:
name: build-${{ matrix.version }}-latex
- run: sudo apt-get update
- run: sudo apt-get install -y latexmk texlive-xetex fonts-freefont-otf xindy
- run: make
- uses: actions/upload-artifact@master
with:
name: build-${{ matrix.version }}-pdf
path: .

Back | FazBrowse Home | New Git URL