Skip to content

Commit

Permalink
ci: split pdf workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vvolkl committed Aug 23, 2023
1 parent 797c49d commit eb228c8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/sphinx-build-pdf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: build

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install Requirements
run: |
pip install --upgrade pip
pip install -r requirements.txt
- name: Sphinx build - pdf
run: |
sudo apt-get install -y latexmk texlive-full
make latexpdf
4 changes: 0 additions & 4 deletions .github/workflows/sphinx-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ jobs:
- name: Sphinx build - html
run: |
make html
- name: Sphinx build - pdf
run: |
sudo apt-get install -y latexmk texlive-latex-extra
make latexpdf
- name: Sphinx build - epub
run: |
make epub

0 comments on commit eb228c8

Please sign in to comment.