From 9df0fc27896051a309519ffece825b1df927bf59 Mon Sep 17 00:00:00 2001 From: danigonzser Date: Tue, 4 Jun 2024 20:50:14 +0200 Subject: [PATCH] #36 Rehacer LaTeX Workflow Signed-off-by: danigonzser --- .github/workflows/latex.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/latex.yml b/.github/workflows/latex.yml index 579c2f2..3d57ffc 100644 --- a/.github/workflows/latex.yml +++ b/.github/workflows/latex.yml @@ -10,23 +10,23 @@ jobs: docs-tests: runs-on: ubuntu-latest steps: - #- uses: actions/checkout@v4 - #- name: Comprobar gramática y ortografía - # uses: ChiefGokhlayeh/textidote-action@v5 - # id: textidote - # with: - # working_directory: doc - # root_file: proyecto.tex - # - #- name: Subir informe de TeXtidote - # uses: actions/upload-artifact@v4 - # with: - # name: textidote_report - # path: doc/report.html - # - #- name: Lanzar error si existen advertencias de TeXtidote - # if: ${{ steps.textidote.outputs.num_warnings != 0 }} - # run: 'echo "::error file=main.tex::num_warnings: ${{ steps.textidote.outputs.num_warnings }}"; exit 1;' + - uses: actions/checkout@v4 + - name: Comprobar gramática y ortografía + uses: ChiefGokhlayeh/textidote-action@v5 + id: textidote + with: + working_directory: doc + root_file: proyecto.tex + + - name: Subir informe de TeXtidote + uses: actions/upload-artifact@v4 + with: + name: textidote_report + path: doc/report.html + + - name: Lanzar error si existen advertencias de TeXtidote + if: ${{ steps.textidote.outputs.num_warnings != 0 }} + run: 'echo "::error file=main.tex::num_warnings: ${{ steps.textidote.outputs.num_warnings }}"; exit 1;' - name: Compilar memoria uses: xu-cheng/latex-action@v3