-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 1.05 KB
/
ci.yaml
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
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
job:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install Fonts
run: |
sudo apt-get update
sudo apt-get install fonts-noto-cjk fonts-noto-cjk-extra
- name: Install Tectonic
run: |
# Need to setup tectonic with `uses statement`
curl --proto '=https' --tlsv1.2 -fsSL https://drop-sh.fullyjustified.net | sh
- name: Compile Latex
run: |
./tectonic main.tex
- name: Rename Compiled PDF
run: |
mv main.pdf "CV - Minsu Sun(eng).pdf"
- name: Upload Compiled PDF
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Upload Compiled PDF
branch: ${{ github.head_ref || github.ref_name }}
commit_options: '--no-verify --signoff'
commit_author: Author <[email protected]>
status_options: '--untracked-files=no'
skip_dirty_check: true