-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 753 Bytes
/
Copy pathmain.yml
File metadata and controls
34 lines (28 loc) · 753 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: Build LaTeX CV
on:
push:
branches: ["master"]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v4
with:
root_file: cv_eng.tex
- name: Move latest tag to current commit
run: |
git tag -f latest
git push origin latest --force
- name: Create or update latest release
uses: softprops/action-gh-release@v2
with:
tag_name: latest
name: Latest CV
body: "Built automatically from commit ${{ github.sha }}."
files: cv_eng.pdf
make_latest: true