Skip to content

Commit 58bf4ce

Browse files
committed
ci: tinymist sidecar を ci.yml でも fetch する
cargo check は tauri.conf.json の bundle.externalBin で参照される binary の実体検証を行うため、sidecar binary が `binaries/` に 配置されていないと `resource path doesn't exist` で失敗する。 release.yml に追加した fetch-tinymist.sh のステップを ci.yml にも 入れる(svelte-check / cargo check の前)。
1 parent e1520fb commit 58bf4ce

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ jobs:
4747
run: pnpm install --frozen-lockfile
4848
working-directory: app
4949

50+
# tauri.conf.json の bundle.externalBin が実体検証されるため、
51+
# cargo check 前に sidecar を配置しておく必要がある。
52+
- name: Fetch tinymist
53+
run: ./scripts/fetch-tinymist.sh
54+
env:
55+
TINYMIST_TARGET: x86_64-unknown-linux-gnu
56+
5057
- name: svelte-check
5158
run: pnpm check
5259
working-directory: app

0 commit comments

Comments
 (0)