Skip to content

Commit

Permalink
Use work_in_root_file_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Sep 19, 2022
1 parent ca2cd17 commit 867674c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 867674c

Please sign in to comment.