Skip to content

[MISC] sanitise all build & make files #11

[MISC] sanitise all build & make files

[MISC] sanitise all build & make files #11

Workflow file for this run

name: Build tagged CV
on:
push:
tags:
- "v*-*-*" # Should be tagged like vYYYY-MM-DD
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: 🛒 Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: ✨ Build CV
uses: xu-cheng/latex-action@v3
with:
root_file: |
istvan_urban_cv_clean_short.tex
istvan_urban_cv_clean_tldr.tex
istvan_urban_cv_short.tex
istvan_urban_cv_tldr.tex
args: -output-directory=compiled
extra_system_packages: git
latexmk_use_xelatex: true
continue_on_error: true
texlive_version: 2022
pre_compile: |
mkdir -p compiled
git config --system --add safe.directory '*'
echo "# 📃 changelog" >> compiled/CHANGELOG
echo >> compiled/CHANGELOG
git log $(git describe --tags --abbrev=0 @^)..@ --oneline --date-order --pretty=format:"%h - %s" >> compiled/CHANGELOG
- name: 🚀 Release
uses: softprops/action-gh-release@v1
with:
files: compiled/*.pdf
body_path: compiled/CHANGELOG