From 3db037e809b3981e4ad78b2fff8a7af7262af162 Mon Sep 17 00:00:00 2001 From: pdesanex Date: Fri, 23 Aug 2024 09:00:42 +0100 Subject: [PATCH] Update release.yaml --- .github/workflows/release.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0695eb99b..7d7924f52 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,13 +11,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: ammaraskar/sphinx-action@master + - name: Set up PDM + uses: pdm-project/setup-pdm@v4 with: - pre-build-command: "apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended" - build-command: "make latexpdf" - docs-folder: "docs" + cache: true + python-version-file: pyproject.toml + - name: Install requirements + run: pdm sync -dG doc + - name: Sphinx build + run: pdm run make -C docs/ simplepdf - uses: actions/upload-artifact@v4 with: name: documentation - path: docs/build/latex/iblrig.pdf + path: docs/build/simplepdf/*.pdf retention-days: 1