Skip to content

Commit db9e3b4

Browse files
committed
Added more cache
1 parent 6eb9c39 commit db9e3b4

File tree

3 files changed

+21
-13
lines changed

3 files changed

+21
-13
lines changed

.github/workflows/android.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,10 @@ jobs:
2323
restore-keys: |
2424
${{ runner.os }}-gradle-
2525
26-
- name: Cache Android SDK
27-
uses: actions/cache@v3
28-
with:
29-
path: |
30-
/usr/local/lib/android/sdk/platform-tools
31-
/usr/local/lib/android/sdk/platforms
32-
/usr/local/lib/android/sdk/build-tools
33-
/usr/local/lib/android/sdk/licenses
34-
key: ${{ runner.os }}-android-sdk-${{ hashFiles('app/android/build.gradle') }}
35-
restore-keys: |
36-
${{ runner.os }}-android-sdk-
37-
3826
- name: Set up Flutter
3927
uses: subosito/flutter-action@v2
4028
with:
41-
flutter-version: "3.22.2"
29+
flutter-version: "3.24.5"
4230
channel: "stable"
4331
cache: true
4432

.github/workflows/linux.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@ jobs:
2020
with:
2121
path: "app"
2222

23+
- name: Cache pub dependencies
24+
uses: actions/cache@v3
25+
with:
26+
path: |
27+
${{ env.PUB_CACHE }}
28+
app/.dart_tool
29+
key: ${{ runner.os }}-pub-${{ hashFiles('app/**/pubspec.lock') }}
30+
restore-keys: |
31+
${{ runner.os }}-pub-
32+
2333
- name: Install required build tools for linux
2434
run: |
2535
sudo apt-get update -y

.github/workflows/macos.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@ jobs:
2020
with:
2121
path: "app"
2222

23+
- name: Cache pub dependencies
24+
uses: actions/cache@v3
25+
with:
26+
path: |
27+
${{ env.PUB_CACHE }}
28+
app/.dart_tool
29+
key: ${{ runner.os }}-pub-${{ hashFiles('app/**/pubspec.lock') }}
30+
restore-keys: |
31+
${{ runner.os }}-pub-
32+
2333
- uses: actions/checkout@v4
2434
with:
2535
repository: "hmziqrs/keys-n-stuff"

0 commit comments

Comments
 (0)