Skip to content

Commit 5614592

Browse files
authored
Revert: ci: adjust cache key
1 parent 4f958f9 commit 5614592

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ jobs:
6464
uses: subosito/flutter-action@v2
6565
with:
6666
cache: true
67-
cache-key: ${{ runner.os }}-flutter
68-
pub-cache-key: ${{ runner.os }}-flutter-pub
6967

7068
- name: Install Java
7169
if: matrix.name == 'android'
@@ -86,7 +84,9 @@ jobs:
8684
~/.gradle/caches
8785
~/.gradle/wrapper
8886
android/.gradle
89-
key: ${{ runner.os }}-gradle
87+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
88+
restore-keys: |
89+
${{ runner.os }}-gradle-
9090
9191
- name: Cache NDK
9292
if: matrix.name == 'android'

0 commit comments

Comments
 (0)