Skip to content

Commit

Permalink
ci: Use caching for flutter installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Peetee06 committed Sep 12, 2024
1 parent bec0825 commit 25f8d9f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
flutter-version: 3.24.2

- name: Install FVM
if: matrix.use_fvm == true
run: curl -fsSL https://fvm.app/install.sh | bash
cache: true

- name: create flutter project
run: flutter create my_app --empty --template=app --platforms=android --no-pub
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
flutter-version: 3.24.2
cache: true

- name: Install Mason CLI
run: dart pub global activate mason_cli
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
flutter-version: 3.24.2
cache: true

- name: create flutter project
run: flutter create my_app --empty --template=app --platforms=android --no-pub --org=org.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
flutter-version: 3.24.2
cache: true

- name: create flutter project
run: flutter create my_app --empty --template=app --platforms=android --no-pub
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
flutter-version: 3.24.2
cache: true

- name: create flutter project
run: flutter create my_app --empty --template=app --platforms=android --no-pub
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
flutter-version: 3.24.2
cache: true

- name: Install Mason CLI
run: dart pub global activate mason_cli
Expand Down

0 comments on commit 25f8d9f

Please sign in to comment.