Files
cv/.gitea/workflows/main.yaml
Nikolaos Karaolidis 1ebb56c39a
All checks were successful
Build and Release PDF / release (push) Successful in 2m46s
Update CI
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-07-31 15:29:56 +01:00

39 lines
1.4 KiB
YAML

name: Build and Release PDF
on:
push:
branches:
- "**"
jobs:
release:
runs-on: ubuntu-latest
outputs:
tag: ${{ steps.set-tag.outputs.tag }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install LaTeX (XeLaTeX)
run: |
apt-get update
apt-get install -y texlive-xetex texlive-science texlive-fonts-extra
wget -P /usr/local/share/fonts https://github.com/CatharsisFonts/Cormorant/raw/refs/heads/master/fonts/ttf/CormorantGaramond-Regular.ttf
wget -P /usr/local/share/fonts https://github.com/CatharsisFonts/Cormorant/raw/refs/heads/master/fonts/ttf/CormorantGaramond-Bold.ttf
wget -P /usr/local/share/fonts https://github.com/CatharsisFonts/Cormorant/raw/refs/heads/master/fonts/ttf/CormorantGaramond-Italic.ttf
wget -P /usr/local/share/fonts https://github.com/CatharsisFonts/Cormorant/raw/refs/heads/master/fonts/ttf/CormorantGaramond-BoldItalic.ttf
wget -P /usr/local/share/fonts https://github.com/CatharsisFonts/Cormorant/raw/refs/heads/master/fonts/ttf/CormorantGaramond-Light.ttf
fc-cache -fv
- name: Compile PDF
run: |
xelatex main.tex
- name: Release
uses: https://github.com/akkuman/gitea-release-action@main
with:
tag_name: "release-${{github.ref_name}}"
files: |-
main.pdf