Skip to content

Commit

Permalink
Updated github action
Browse files Browse the repository at this point in the history
  • Loading branch information
FilippoFantinato committed Apr 29, 2024
1 parent f4b4146 commit 67284b7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 23 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,10 @@ jobs:
- uses: actions/checkout@v4.1.2

- name: Compile tex file into pdf
uses: xu-cheng/latex-action@v3
uses: dante-ev/latex-action@latest
with:
root_file: main.tex
latexmk_use_xelatex: true
latexmk_shell_escape: true
extra_fonts: |
./fonts/EB_Garamond/*.otf
./fonts/Lato/*.ttf
./fonts/Source_Code_Pro/*.ttf
entrypoint: ./scripts/build

- uses: actions/upload-artifact@v4
with:
name: Master thesis
Expand Down
2 changes: 1 addition & 1 deletion creationdate.timestamp
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
\edef\tempa{\string D:20240407112350}
\edef\tempa{\string D:20240430004413}
\def\tempb{+0200}
17 changes: 4 additions & 13 deletions scripts/build
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
#!/bin/sh
BASEDIR=$(dirname $0)
BUILDDIR="build"
cd $BASEDIR
cd ..


# Build the dissertation.
xelatex --output-directory=$BUILDDIR --shell-escape main
bibtex $BUILDDIR/main
xelatex --output-directory=$BUILDDIR --shell-escape main
xelatex --output-directory=$BUILDDIR --shell-escape main

# Hide the log.
mv "main.log" ".main"

xelatex --shell-escape main.tex
bibtex main
xelatex --shell-escape main.tex
xelatex --shell-escape main.tex

0 comments on commit 67284b7

Please sign in to comment.