Update CI to use cache@v3 + ignore partial matches of cache key

This commit is contained in:
lynxnb 2022-04-07 11:21:01 +02:00 committed by PixelyIon
parent 69ba4f8abb
commit 924d5f7081

View File

@ -15,20 +15,16 @@ jobs:
submodules: recursive
- name: Restore Gradle Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /root/.gradle/
key: ${{ runner.os }}-gradle-${{ hashFiles('**/build.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Restore CXX Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: app/.cxx/
key: ${{ runner.os }}-cxx-${{ hashFiles('**/CMakeLists.txt') }}
restore-keys: |
${{ runner.os }}-cxx-
- name: Install Ninja Build
run: |