also use latexmk in CIs

This commit is contained in:
Mirek Kratochvil 2021-04-06 08:00:06 +02:00
parent b6f5e96765
commit d3cfd18a30
2 changed files with 4 additions and 4 deletions

View File

@ -17,14 +17,14 @@ jobs:
build: build:
# The type of runner that the job will run on # The type of runner that the job will run on
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: { image: 'exaexa/latex' } container: { image: 'aergus/latex' }
# Steps represent a sequence of tasks that will be executed as part of the job # Steps represent a sequence of tasks that will be executed as part of the job
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Build the thesis - name: Build the thesis
run: make run: latexmk thesis && latexmk abstract-cz && latexmk abstract-en
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:

View File

@ -4,10 +4,10 @@
# #
# It works with the gitlab.mff.cuni.cz instance. # It works with the gitlab.mff.cuni.cz instance.
# #
image: exaexa/latex image: aergus/latex
build: build:
script: make script: latexmk thesis && latexmk abstract-cz && latexmk abstract-en;
artifacts: artifacts:
paths: paths:
- thesis.pdf - thesis.pdf