From 924d5f708123a9e849f32ecf18e87e2077978457 Mon Sep 17 00:00:00 2001 From: lynxnb Date: Thu, 7 Apr 2022 11:21:01 +0200 Subject: [PATCH] Update CI to use cache@v3 + ignore partial matches of cache key --- .github/workflows/ci.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 625dfd66..d8e3f4b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: |