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

Commit

Permalink
ci: 🐛 use set up actions for typst and just
Browse files Browse the repository at this point in the history
  • Loading branch information
meisZWFLZ authored Mar 12, 2024
1 parent 6d78f4e commit 9167441
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,29 @@ jobs:
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: Setup Typst
uses: typst-community/[email protected]

- name: Setup just
uses: extractions/setup-just@v2

- name: Clone Notebookinator
uses: actions/checkout@v4
with:
repository: darkMatter781x/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:
Expand Down

0 comments on commit 9167441

Please sign in to comment.