From ab84635f5c8d0c662b9dc31ce25d1a72ae1544d9 Mon Sep 17 00:00:00 2001 From: Piotr Gawron Date: Mon, 22 Apr 2024 17:16:35 +0200 Subject: [PATCH] fix in action --- .github/workflows/build-latex.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-latex.yml b/.github/workflows/build-latex.yml index cdf84fe..1f58347 100644 --- a/.github/workflows/build-latex.yml +++ b/.github/workflows/build-latex.yml @@ -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 @@ -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 \ No newline at end of file + path: lecture.pdf \ No newline at end of file