From 544ebbfb59b450d363a8949b765e6ff9a1e6a1a8 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 21 Nov 2021 05:10:42 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Run=20"Find=20Poetry=20Python=20?= =?UTF-8?q?environment"=20in=20backend/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-sphinx-report.yml | 2 ++ .github/workflows/build-sphinx-thesis.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build-sphinx-report.yml b/.github/workflows/build-sphinx-report.yml index 92c6508..e2663ab 100644 --- a/.github/workflows/build-sphinx-report.yml +++ b/.github/workflows/build-sphinx-report.yml @@ -25,6 +25,7 @@ jobs: 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: "Build HTML document with Sphinx" uses: ammaraskar/sphinx-action@master @@ -56,6 +57,7 @@ jobs: 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: apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended diff --git a/.github/workflows/build-sphinx-thesis.yml b/.github/workflows/build-sphinx-thesis.yml index 77645b7..0a133f5 100644 --- a/.github/workflows/build-sphinx-thesis.yml +++ b/.github/workflows/build-sphinx-thesis.yml @@ -25,6 +25,7 @@ jobs: 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: "Build HTML document with Sphinx" uses: ammaraskar/sphinx-action@master @@ -56,6 +57,7 @@ jobs: 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: apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended