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

Commit 9167441

Browse files
authored
ci: 🐛 use set up actions for typst and just
1 parent 6d78f4e commit 9167441

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,29 @@ jobs:
1010
steps:
1111
- name: Checkout
1212
uses: actions/checkout@v4
13-
- name: Install Typst
14-
uses: baptiste0928/cargo-install@v2
15-
with:
16-
crate: typst-cli
17-
git: https://github.com/typst/typst
18-
branch: main
19-
- name: Install just
20-
uses: baptiste0928/cargo-install@v2
21-
with:
22-
crate: just
13+
14+
- name: Setup Typst
15+
uses: typst-community/setup-typst@v3.1.0
16+
17+
- name: Setup just
18+
uses: extractions/setup-just@v2
19+
2320
- name: Clone Notebookinator
2421
uses: actions/checkout@v4
2522
with:
2623
repository: darkMatter781x/notebookinator
2724
path: ./notebookinator
2825
ref: main
26+
2927
- name: Install Notebookinator
3028
run: |
3129
cd notebookinator
3230
just install
31+
3332
- name: Compile Notebook
3433
run: |
3534
typst compile main.typ --font-path ./assets/fonts/
35+
3636
- name: Upload PDF file
3737
uses: actions/upload-artifact@v3
3838
with:

0 commit comments

Comments
 (0)