1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 06:44:21 +00:00

🔨 The Actions parser didn't like that

This commit is contained in:
Steffo 2021-11-21 05:33:18 +01:00
parent 9d23a3b25c
commit d7c4eff546
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 8 additions and 16 deletions

View file

@ -43,6 +43,8 @@ jobs:
name: "Build PDF document" name: "Build PDF document"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: "Update apt repositories"
run: sudo apt-get update -y
- name: "Checkout repository" - name: "Checkout repository"
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: "Setup Python" - name: "Setup Python"
@ -53,20 +55,14 @@ jobs:
uses: abatilo/actions-poetry@v2.0.0 uses: abatilo/actions-poetry@v2.0.0
with: with:
poetry-version: 1.1.11 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" - name: "Install backend dependencies"
working-directory: backend/ working-directory: backend/
run: poetry install --no-interaction run: poetry install --no-interaction
- name: "Find Poetry Python environment" - name: "Find Poetry Python environment"
working-directory: backend/ working-directory: backend/
run: echo "pythonLocation=$(poetry env list --full-path | cut -f1 -d' ')/bin" >> $GITHUB_ENV 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" - name: "Build LaTeX document with Sphinx"
working-directory: report/ working-directory: report/
run: | run: |

View file

@ -43,6 +43,8 @@ jobs:
name: "Build PDF document" name: "Build PDF document"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: "Update apt repositories"
run: sudo apt-get update -y
- name: "Checkout repository" - name: "Checkout repository"
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: "Setup Python" - name: "Setup Python"
@ -53,20 +55,14 @@ jobs:
uses: abatilo/actions-poetry@v2.0.0 uses: abatilo/actions-poetry@v2.0.0
with: with:
poetry-version: 1.1.11 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" - name: "Install backend dependencies"
working-directory: backend/ working-directory: backend/
run: poetry install --no-interaction run: poetry install --no-interaction
- name: "Find Poetry Python environment" - name: "Find Poetry Python environment"
working-directory: backend/ working-directory: backend/
run: echo "pythonLocation=$(poetry env list --full-path | cut -f1 -d' ')/bin" >> $GITHUB_ENV 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" - name: "Build LaTeX document with Sphinx"
working-directory: thesis/ working-directory: thesis/
run: | run: |