-
Notifications
You must be signed in to change notification settings - Fork 7
36 lines (30 loc) · 999 Bytes
/
build.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
# Adpated from https://github.com/nju-lug/NJUThesis/blob/master/.github/workflows/build.yml
# This is a build workflow, it is manually triggered and provided for advanced users
# You can fork the HKUST-Thesis Repo, write your thesis and organize through Github,
# Compile your thesis through Github Action.
name: Build Thesis
on:
workflow_dispatch:
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Github Action for LaTeX dtx to cls
uses: FengChendian/[email protected]
with:
root_file: hkustthesis.dtx
working_directory: ./
- name: Compile sample PDF
uses: HermitSun/latex-action@v3
with:
root_file: mythesis.tex
latexmk_use_xelatex: true
args: "-bibtex"
- name: Upload PDF
uses: actions/upload-artifact@v4
with:
name: PDF
path: |
mythesis.pdf