Skip to content

Commit 49548df

Browse files
committed
ci: Fix cetz build issue
1 parent 15d3d3b commit 49548df

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,13 @@ jobs:
2525
crate: tytanic
2626
git: https://github.com/tingerrr/tytanic.git
2727
- run: |
28+
rustup target add wasm32-unknown-unknown
29+
CETZ=$(mktemp -d)
2830
mkdir -p ~/.local/share/typst/packages/preview/cetz
29-
git clone --depth 1 --branch release-0.4.0 https://github.com/cetz-package/cetz.git ~/.local/share/typst/packages/preview/cetz/0.4.0
31+
git clone --depth 1 --branch release-0.4.0 https://github.com/cetz-package/cetz.git "$CETZ"
32+
cd "$CETZ"
33+
git submodule update --init --recursive
34+
just install @preview
3035
- uses: typst-community/setup-typst@v3
3136
with:
3237
typst-version: '0.13.1'

0 commit comments

Comments
 (0)