also use latexmk in CIs
This commit is contained in:
parent
b6f5e96765
commit
d3cfd18a30
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -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:
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user