mirror of
https://github.com/mx42/cv.git
synced 2026-01-14 21:29:51 +01:00
fix: install font and split artifacts (?)
This commit is contained in:
30
.github/workflows/build_pdf.yml
vendored
30
.github/workflows/build_pdf.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user