Skip to content

Commit

Permalink
fix in action
Browse files Browse the repository at this point in the history
  • Loading branch information
pgawron committed Apr 22, 2024
1 parent 6d51f41 commit ab84635
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-latex.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Build LaTeX document
on: [push]

defaults:
run:
working-directory: ./lectures/01-introduction/txt/

jobs:
build_latex:
runs-on: ubuntu-latest
Expand All @@ -8,11 +13,10 @@ jobs:
uses: actions/checkout@v4
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v3
working-directory: lectures/01-introduction/txt/
with:
root_file: lecture.tex
- name: Upload PDF file
uses: actions/upload-artifact@v4
with:
name: PDF
path: lectures/01-introduction/txt/lecture.pdf
path: lecture.pdf

0 comments on commit ab84635

Please sign in to comment.