Skip to content

Commit

Permalink
ci: build add flutter cache
Browse files Browse the repository at this point in the history
  • Loading branch information
d1y committed Jun 17, 2023
1 parent 1e1cc4f commit 6fe70d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- name: Install project dependencies
run: |
flutter pub get
Expand Down Expand Up @@ -49,6 +50,7 @@ jobs:
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- name: Disable Google Analytics
run: flutter config --no-analytics
- name: Install dependencies
Expand Down Expand Up @@ -87,6 +89,7 @@ jobs:
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
channel: "stable"
- run: flutter pub get
- run: flutter pub run build_runner build
Expand Down

0 comments on commit 6fe70d5

Please sign in to comment.