mirror of
https://github.com/mx42/cv.git
synced 2026-01-14 05:09:51 +01:00
29 lines
554 B
YAML
29 lines
554 B
YAML
|
|
name: Build PDF and Upload Artifact
|
|
|
|
on: [push]
|
|
|
|
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@v4
|
|
with:
|
|
name: CV
|
|
path: |
|
|
cv_fr.pdf
|
|
cv_en.pdf
|