-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 755 Bytes
/
Copy pathtest.yml
File metadata and controls
34 lines (28 loc) · 755 Bytes
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
name: Test Docker Image
on:
workflow_dispatch:
schedule:
- cron: '0 0 18 * *'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/being24/latex-docker:latest
options: --user root
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test Docker Image with luaLaTeX
run: latexmk -pdf -e '$pdf_mode=4' main.tex
- name: Upload PDF
uses: actions/upload-artifact@v4
with:
name: main-lua.pdf
path: main.pdf
- name: Test Docker Image with upLaTeX
run: latexmk -pdf -e '$pdf_mode=3' main.tex
- name: Upload PDF
uses: actions/upload-artifact@v4
with:
name: main-up.pdf
path: main.pdf