From 867674ca20f031eb2f944937d480d6159cdfe676 Mon Sep 17 00:00:00 2001 From: Evan Sosenko Date: Mon, 19 Sep 2022 14:27:57 -0700 Subject: [PATCH] Use work_in_root_file_dir --- .github/workflows/main.yml | 3 ++- .github/workflows/publish.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a6f7690..367ad42 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,8 +24,9 @@ jobs: uses: xu-cheng/latex-action@v2 with: root_file: tex/makenew-latex-project.tex + work_in_root_file_dir: true latexmk_use_xelatex: true - name: Upload artifacts uses: actions/upload-artifact@v3 with: - path: "*.pdf" + path: tex/*.pdf diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c2ed5f3..954d4df 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,10 +24,11 @@ jobs: uses: xu-cheng/latex-action@v2 with: root_file: tex/makenew-latex-project.tex + work_in_root_file_dir: true latexmk_use_xelatex: true - name: Release uses: ncipollo/release-action@v1 with: artifactErrorsFailBuild: true - artifacts: makenew-latex-project.pdf + artifacts: tex/makenew-latex-project.pdf artifactContentType: application/pdf