Feature: Add CI
This commit is contained in:
parent
0168bbed12
commit
1cab135136
@ -0,0 +1,30 @@
|
|||||||
|
name: Build LaTeX PDF
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: texlive/texlive
|
||||||
|
steps:
|
||||||
|
- name: Checkout du dépôt
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Compiler le PDF
|
||||||
|
run: |
|
||||||
|
mkdir -p package
|
||||||
|
cd source
|
||||||
|
pdflatex -output-format=pdf -interaction=nonstopmode -output-directory=../package main.tex
|
||||||
|
|
||||||
|
- name: Renommer le fichier
|
||||||
|
run: |
|
||||||
|
TAG_NAME=${{ github.ref_name }}
|
||||||
|
mv package/main.pdf package/CV-Jarod-CAJNA-${TAG_NAME}.pdf
|
||||||
|
|
||||||
|
- name: Upload PDF en artefact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: CV-Jarod-CAJNA-${{ github.ref_name }}.pdf
|
||||||
|
path: package/CV-Jarod-CAJNA-${{ github.ref_name }}.pdf
|
||||||
Loading…
x
Reference in New Issue
Block a user