Compare commits
1 commit
3bb3cafa14
...
474f39097d
Author | SHA1 | Date | |
---|---|---|---|
474f39097d |
1 changed files with 9 additions and 2 deletions
|
@ -6,8 +6,6 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build-docs:
|
build-docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
|
||||||
image: git.kjan.de/actions/runner-latex:latest
|
|
||||||
env:
|
env:
|
||||||
# Edit here with the names of your latex file and directory (can use ".")
|
# Edit here with the names of your latex file and directory (can use ".")
|
||||||
DIR: docs
|
DIR: docs
|
||||||
|
@ -16,6 +14,15 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install TeXlive
|
||||||
|
env:
|
||||||
|
ACCEPT_EULA: y
|
||||||
|
DEBIAN_FRONTEND: noninteractive
|
||||||
|
run: |
|
||||||
|
echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | sudo debconf-set-selections
|
||||||
|
sudo apt-get update && sudo apt-get install texlive-lang-german texlive-xetex texlive texlive-publishers texlive-science latexmk cm-super ttf-mscorefonts-installer -y
|
||||||
|
sudo fc-cache -f -v
|
||||||
|
|
||||||
- name: LaTeX compile
|
- name: LaTeX compile
|
||||||
working-directory: ${{ env.DIR }}
|
working-directory: ${{ env.DIR }}
|
||||||
run: latexmk -pdf -xelatex ${{ env.FILE }}
|
run: latexmk -pdf -xelatex ${{ env.FILE }}
|
||||||
|
|
Reference in a new issue