Skip to content

Commit

Permalink
Try that
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanBlanchard committed Nov 1, 2024
1 parent 5fd3cee commit 0699872
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/pdfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,32 @@ name: PDFs
on: [push]

jobs:
compile:
name: Compile the tutorial
compile-en:
name: Compile the english version
runs-on: ubuntu-latest
container: allanblanchardgh/tutoriel_wp
steps:
- name: install needed packages
run: sudo apt update && DEBIAN_FRONTEND=noninteractive sudo --preserve-env=DEBIAN_FRONTEND apt install -y make texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-plain-generic texlive-fonts-extra texlive-lang-french texlive-luatex python3-pygments librsvg2-bin
- name: retrieve sources
uses: actions/checkout@v4
- name: compile
run: make
run: make -C english
- name: archive PDFs
uses: actions/upload-artifact@v4
with:
path: |
english/main.pdf
compile-fr:
name: Compile the french version
runs-on: ubuntu-latest
container: allanblanchardgh/tutoriel_wp
steps:
- name: retrieve sources
uses: actions/checkout@v4
- name: compile
run: make -C french
- name: archive PDFs
uses: actions/upload-artifact@v4
with:
path: |
french/main.pdf

0 comments on commit 0699872

Please sign in to comment.