Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: optimize CI
Browse files Browse the repository at this point in the history
LucasXu0 committed Jul 18, 2023
1 parent f4494a8 commit 2fb7017
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/flutter_ci.yaml
Original file line number Diff line number Diff line change
@@ -69,6 +69,13 @@ jobs:
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true

- name: Cache the Flutter build
uses: actions/cache@v3
with:
path: |
frontend/appflowy_flutter/build
key: ${{ runner.os }}-${{ hashFiles('frontend/appflowy_flutter/pubspce.lock') }}-${{ hashFiles('frontend/rust-lib/Cargo.lock') }}

- uses: Swatinem/rust-cache@v2
with:
prefix-key: ${{ matrix.os }}
1 change: 0 additions & 1 deletion frontend/scripts/makefile/flutter.toml
Original file line number Diff line number Diff line change
@@ -185,7 +185,6 @@ script_runner = "@shell"
script = [
"""
cd appflowy_flutter
flutter clean
flutter pub get
cd ../
sh scripts/code_generation/generate.sh

0 comments on commit 2fb7017

Please sign in to comment.