Skip to content

Commit

Permalink
#36 Rehacer LaTeX Workflow
Browse files Browse the repository at this point in the history
Signed-off-by: danigonzser <[email protected]>
  • Loading branch information
danigonzser committed Jun 4, 2024
1 parent f1c38c8 commit 9df0fc2
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/latex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9df0fc2

Please sign in to comment.