Skip to content

Commit

Permalink
feat: enable CI flutter action cache
Browse files Browse the repository at this point in the history
  • Loading branch information
abc873693 committed Sep 2, 2024
1 parent 3ba5dc0 commit b22ab7b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
with:
flutter-version: '3.24.x'
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- run: flutter pub get
- name: Analyze files
run: flutter analyze .
Expand All @@ -47,6 +49,8 @@ jobs:
with:
flutter-version: '3.24.x'
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- run: flutter pub get
- name: Build Android app bundle
run: flutter build appbundle --release
Expand All @@ -72,6 +76,8 @@ jobs:
with:
flutter-version: '3.24.x'
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- run: flutter pub get
- name: Build iOS
run: flutter build ios --release --no-codesign
Expand Down Expand Up @@ -120,6 +126,8 @@ jobs:
with:
flutter-version: '3.24.x'
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Intall requird Dependencies
run: sudo apt -y install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
- name: Enable linux
Expand All @@ -140,6 +148,8 @@ jobs:
with:
flutter-version: '3.24.x'
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Enable windows
run: flutter config --enable-windows-desktop
- run: flutter doctor -v
Expand Down

0 comments on commit b22ab7b

Please sign in to comment.