mirror of
https://github.com/mx42/cv.git
synced 2026-01-13 20:59: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
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: typst-community/setup-typst@v3
|
||||
with:
|
||||
cache-dependency-path: requirements.typ
|
||||
- name: Install fontist
|
||||
uses: fontist/setup-fontist@v2
|
||||
|
||||
- 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_fr.typ cv_fr.pdf
|
||||
|
||||
- name: Upload PDF as artifact
|
||||
- name: Upload FR PDF as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: CV
|
||||
path: |
|
||||
cv_fr.pdf
|
||||
cv_en.pdf
|
||||
name: CV FR
|
||||
path: cv_fr.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