feat: add CI (?)

This commit is contained in:
installer
2025-01-16 18:33:39 +01:00
parent 77a4914ac1
commit b56b8099ee

31
.github/workflows/build_pdf.yml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: Build PDF and Upload Artifact
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: typst-community/setup-typst@v3
with:
cache-dependency-path: requirements.typ
- run: |
typst compile cv_en.typ cv_en.pdf
typst compile cv_fr.typ cv_fr.pdf
- name: Upload PDF as artifact
uses: actions/upload-artifact@v2
with:
name: CV
path: |
cv_fr.pdf
cv_en.pdf