1
0

chore: Update build cache configuration

This commit is contained in:
Natsu 2024-06-18 19:14:26 +07:00
parent 6c022e1b9b
commit e43275d6fe
Signed by: NatsumeLS
GPG Key ID: 6DB67FB460CF46C6

View File

@ -8,12 +8,33 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Android Development Environment
uses: android-actions/setup-android@v2
- name: Cache Gradle
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
gradle-${{ runner.os }}-
- name: Cache CMake
uses: actions/cache@v3
with:
path: |
/usr/local/lib/android/sdk/cmake/3.22.1
key: cmake-${{ runner.os }}-3.22.1
restore-keys: |
cmake-${{ runner.os }}-
- name: Install Dependencies
run: |
sdkmanager --install "cmake;3.22.1"