Skip to content

Commit 7c2c598

Browse files
committed
ci - update and setup cache
1 parent 391dfef commit 7c2c598

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.github/workflows/android_build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ jobs:
4343
echo "storePassword=$KEYSTORE_STORE_PASSWORD" >> keystore.properties
4444
echo "keyPassword=$KEYSTORE_KEY_PASSWORD" >> keystore.properties
4545
46+
- name: Cache Gradle
47+
uses: actions/cache@v4
48+
with:
49+
path: ~/.gradle/caches/
50+
key: cache-clean-gradle-${{ matrix.os }}-${{ matrix.jdk }}
51+
52+
- name: Cache Gradle Wrapper
53+
uses: actions/cache@v4
54+
with:
55+
path: ~/.gradle/wrapper/
56+
key: cache-clean-wrapper-${{ matrix.os }}-${{ matrix.jdk }}
57+
4658
- name: Grant execute permission for gradlew
4759
run: chmod +x gradlew
4860

.github/workflows/android_deploy_beta.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
ruby-version: '3.3'
2727

2828
- name: Cache Ruby - Bundler
29-
uses: actions/cache@v2
29+
uses: actions/cache@v4
3030
with:
3131
path: vendor/bundle
3232
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
@@ -41,13 +41,13 @@ jobs:
4141
cache: gradle
4242

4343
- name: Cache Gradle
44-
uses: actions/cache@v1
44+
uses: actions/cache@v4
4545
with:
4646
path: ~/.gradle/caches/
4747
key: cache-clean-gradle-${{ matrix.os }}-${{ matrix.jdk }}
4848

4949
- name: Cache Gradle Wrapper
50-
uses: actions/cache@v1
50+
uses: actions/cache@v4
5151
with:
5252
path: ~/.gradle/wrapper/
5353
key: cache-clean-wrapper-${{ matrix.os }}-${{ matrix.jdk }}

0 commit comments

Comments
 (0)