From d7c4eff546d35315b5bc2df8bfefb958b5290cde Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 21 Nov 2021 05:33:18 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20The=20Actions=20parser=20didn't?= =?UTF-8?q?=20like=20that?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-sphinx-report.yml | 12 ++++-------- .github/workflows/build-sphinx-thesis.yml | 12 ++++-------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-sphinx-report.yml b/.github/workflows/build-sphinx-report.yml index 18fad18..4881015 100644 --- a/.github/workflows/build-sphinx-report.yml +++ b/.github/workflows/build-sphinx-report.yml @@ -43,6 +43,8 @@ jobs: name: "Build PDF document" runs-on: ubuntu-latest steps: + - name: "Update apt repositories" + run: sudo apt-get update -y - name: "Checkout repository" uses: actions/checkout@v2 - name: "Setup Python" @@ -53,20 +55,14 @@ jobs: uses: abatilo/actions-poetry@v2.0.0 with: poetry-version: 1.1.11 + - name: "Install LaTeX packages" + run: sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended - name: "Install backend dependencies" working-directory: backend/ run: poetry install --no-interaction - name: "Find Poetry Python environment" working-directory: backend/ run: echo "pythonLocation=$(poetry env list --full-path | cut -f1 -d' ')/bin" >> $GITHUB_ENV - - name: "Install LaTeX dependencies" - run: > - sudo apt-get update -y && - sudo apt-get install -y - latexmk - texlive-latex-recommended - texlive-latex-extra - texlive-fonts-recommended - name: "Build LaTeX document with Sphinx" working-directory: report/ run: | diff --git a/.github/workflows/build-sphinx-thesis.yml b/.github/workflows/build-sphinx-thesis.yml index c749cb2..49773c8 100644 --- a/.github/workflows/build-sphinx-thesis.yml +++ b/.github/workflows/build-sphinx-thesis.yml @@ -43,6 +43,8 @@ jobs: name: "Build PDF document" runs-on: ubuntu-latest steps: + - name: "Update apt repositories" + run: sudo apt-get update -y - name: "Checkout repository" uses: actions/checkout@v2 - name: "Setup Python" @@ -53,20 +55,14 @@ jobs: uses: abatilo/actions-poetry@v2.0.0 with: poetry-version: 1.1.11 + - name: "Install LaTeX packages" + run: sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended - name: "Install backend dependencies" working-directory: backend/ run: poetry install --no-interaction - name: "Find Poetry Python environment" working-directory: backend/ run: echo "pythonLocation=$(poetry env list --full-path | cut -f1 -d' ')/bin" >> $GITHUB_ENV - - name: "Install LaTeX dependencies" - run: > - sudo apt-get update -y && - sudo apt-get install -y - latexmk - texlive-latex-recommended - texlive-latex-extra - texlive-fonts-recommended - name: "Build LaTeX document with Sphinx" working-directory: thesis/ run: |