Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

style: 🎨 style code blocks correctly #13

style: 🎨 style code blocks correctly

style: 🎨 style code blocks correctly #13

Workflow file for this run

name: Build Typst document
on: [push, workflow_dispatch]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Typst
uses: baptiste0928/cargo-install@v2
with:
crate: typst-cli
git: https://github.com/typst/typst
branch: main
- name: Install just
uses: baptiste0928/cargo-install@v2
with:
crate: just
- name: Clone Notebookinator
uses: actions/checkout@v4
with:
repository: battlech1cken/notebookinator
path: ./notebookinator
ref: main
- name: Install Notebookinator
run: |
cd notebookinator
just install
- name: Compile Notebook
run: |
typst compile main.typ --font-path ./assets/fonts/
- name: Upload PDF file
uses: actions/upload-artifact@v3
with:
name: notebook
path: main.pdf