diff --git a/.github/workflows/pdfs.yml b/.github/workflows/pdfs.yml index 2c83937..f554122 100644 --- a/.github/workflows/pdfs.yml +++ b/.github/workflows/pdfs.yml @@ -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 -