diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2e8fb92aae..6c89e47281 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -33,6 +33,7 @@ jobs: cargo install --force cargo-make cargo install --force duckscript_cli cargo make flowy_dev + echo PATH="$PATH":"$HOME/.pub-cache/bin" >> $GITHUB_PATH - name: Build working-directory: frontend run: cargo make --profile production-mac-x86 appflowy @@ -73,8 +74,8 @@ jobs: run: | cargo install --force cargo-make cargo install --force duckscript_cli - sudo apt-get install protobuf-compiler cargo make flowy_dev + echo PATH="$PATH":"$HOME/.pub-cache/bin" >> $GITHUB_PATH - name: Build working-directory: frontend run: cargo make --profile production-linux-x86 appflowy diff --git a/frontend/scripts/makefile/protobuf.toml b/frontend/scripts/makefile/protobuf.toml index 6c4334bd66..e60b67b99d 100644 --- a/frontend/scripts/makefile/protobuf.toml +++ b/frontend/scripts/makefile/protobuf.toml @@ -25,7 +25,6 @@ brew install protobuf echo "Install protoc_plugin (Dart)" dart pub global activate protoc_plugin -export PATH="$PATH":"$HOME/.pub-cache/bin" """ script_runner = "@shell" @@ -35,7 +34,6 @@ sudo apt-get install protobuf-compiler echo "Install protoc_plugin (Dart)" dart pub global activate protoc_plugin -export PATH="$PATH":"$HOME/.pub-cache/bin" """ script_runner = "@shell"