瀏覽代碼

ci: export path

appflowy 3 年之前
父節點
當前提交
15d91d3cbe
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 1
      frontend/scripts/makefile/env.toml
  2. 1 0
      frontend/scripts/makefile/protobuf.toml

+ 1 - 1
frontend/scripts/makefile/env.toml

@@ -1,5 +1,5 @@
 [tasks.flowy_dev]
-run_task = { name = ["install_prerequests","install_diesel"] }
+run_task = { name = ["install_prerequests","install_diesel", "install_protobuf"] }
 
 [tasks.install_windows_deps.windows]
 dependencies=["check_duckscript_installation", "check_visual_studio_installation", "check_vcpkg", "install_vcpkg_sqlite", "install_rust_vcpkg_cli"]

+ 1 - 0
frontend/scripts/makefile/protobuf.toml

@@ -25,6 +25,7 @@ run_task = { name = ["install_protobuf"] }
 script = """
 echo "Install protoc_plugin (Dart)"
 dart pub global activate protoc_plugin
+export PATH="$HOME/.pub-cache/bin:$PATH"
 """
 script_runner = "@shell"