-
Notifications
You must be signed in to change notification settings - Fork 4
48 lines (42 loc) · 1.33 KB
/
num1.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Numerik 1
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
paths:
- num1/**
pull_request:
branches: [ main ]
paths:
- num1/**
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v1
- name: Download MATSE-Spicker class
run: |
curl -OL https://raw.githubusercontent.com/pblan/latex-docker/main/local/spicker.cls
curl -OL https://raw.githubusercontent.com/pblan/latex-docker/main/local/mymacros.sty
mv spicker.cls num1/spicker.cls
mv mymacros.sty num1/mymacros.sty
- name: Compiling LaTeX
uses: xu-cheng/latex-action@v2
#env:
# TEXINPUTS: ".:./custom_template//:"
with:
#pre_compile: "tlmgr update --self && tlmgr update --all"
#post_compile: "latexmk -c"
latexmk_shell_escape: true
working_directory: num1
root_file: |
num1.tex
- name: Uploading artifacts
uses: actions/upload-artifact@v2
with:
name: num1
path: num1/num1.pdf