Skip to content

Commit

Permalink
ci: improve flutter cache
Browse files Browse the repository at this point in the history
  • Loading branch information
deandreamatias committed Feb 18, 2024
1 parent 84eb468 commit ad61833
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
with:
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
cache: true
cache-key: 'flutter-:os:-:version:-:arch:'

- name: Show flutter info
run: flutter doctor
Expand Down
2 changes: 2 additions & 0 deletions tool/setup.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

clean="flutter clean"
pub_get="flutter pub get"
build_runner="dart run build_runner build --delete-conflicting-outputs"
Expand Down

0 comments on commit ad61833

Please sign in to comment.