Replace links to fonts #30
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: master-thesis | |
on: | |
push: | |
tags: | |
- 1.* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Prepare submodules and env vars | |
run: | | |
git submodule init | |
git submodule update --remote | |
- name: Build Docker image | |
uses: docker/build-push-action@v3 | |
with: | |
context: . | |
push: false | |
tags: | | |
master-thesis/docker-latex:latest | |
- name: Generate PDFs | |
uses: addnab/docker-run-action@v3 | |
with: | |
image: master-thesis/docker-latex:latest | |
options: -v ${{ github.workspace }}:/master-thesis:Z | |
run: | | |
latexmk -xelatex -synctex=1 -jobname=master-thesis main.tex | |
cd presentation/ && latexmk -xelatex -synctex=1 -jobname=presentation main.tex | |
- name: Create GitHub release with artifacts | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
master-thesis.pdf | |
presentation/presentation.pdf | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} |