fix: install font and split artifacts (?)

This commit is contained in:
installer
2025-01-16 18:42:09 +01:00
parent bade64f945
commit 73c1caeb2d

View File

@@ -11,18 +11,30 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- uses: typst-community/setup-typst@v3 - name: Install fontist
with: uses: fontist/setup-fontist@v2
cache-dependency-path: requirements.typ
- run: | - name: Install font
run: fontist install "Roboto"
- name: Install Typst
uses: typst-community/setup-typst@v3
# with:
# cache-dependency-path: requirements.typ
- name: Build PDFs
run: |
typst compile cv_en.typ cv_en.pdf typst compile cv_en.typ cv_en.pdf
typst compile cv_fr.typ cv_fr.pdf typst compile cv_fr.typ cv_fr.pdf
- name: Upload PDF as artifact - name: Upload FR PDF as artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: CV name: CV FR
path: | path: cv_fr.pdf
cv_fr.pdf
cv_en.pdf - name: Upload EN PDF as artifact
uses: actions/upload-artifact@v4
with:
name: CV EN
path: cv_en.pdf