From 30bedb337f575dd37600fa01b3329d125c65a58f Mon Sep 17 00:00:00 2001 From: appflowy Date: Wed, 9 Feb 2022 07:32:59 +0800 Subject: [PATCH] ci: export path to CI --- .github/workflows/ci.yaml | 3 ++- frontend/scripts/makefile/protobuf.toml | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) 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"