Skip to content

Commit

Permalink
github: add compile workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mintyfrankie committed Jun 26, 2023
1 parent e83e613 commit fac0033
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Check PDF Compilation

on:
push: {}
pull_request: {}

jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'recursive'

- name: Setup Typst
uses: yusancky/setup-typst@v1
id: setup-typst
with:
version: 'v0.5.0'

- run: typst --font-path ./src/fonts compile cv.typ
- run: typst --font-path ./src/fonts compile letter.typ

- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: output
path: ./*.pdf
if-no-files-found: error

0 comments on commit fac0033

Please sign in to comment.