chore: Update build cache configuration
This commit is contained in:
parent
6c022e1b9b
commit
e43275d6fe
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user