Skip to content

Commit

Permalink
Fixing CI workflow (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnordahl committed Aug 7, 2024
1 parent 0d025f0 commit 6565960
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/latex-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,14 @@ jobs:
uses: xu-cheng/latex-action@v2
with:
root_file: lab-instructions/dodlabs.tex

- name: Compile LaTeX document
run: |
cd lab-instructions
export TEXINPUTS=../latex-support//:
xelatex dodlabs.tex
latexmk_use_xelatex: true
env:
TEXINPUTS: ".:./latex-support//:"

- name: Rename the output PDF
run: |
TAG_NAME=${GITHUB_REF#refs/tags/}
mv dodlabs.pdf dodlabs_${TAG_NAME}.pdf
mv lab-instructions/dodlabs.pdf lab-instructions/dodlabs_${TAG_NAME}.pdf
- name: Create Release
id: create_release
Expand Down

0 comments on commit 6565960

Please sign in to comment.