diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 45b1f1025..8ca5dd635 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,7 +79,7 @@ jobs: uses: actions/cache@v4 with: path: app/.cxx - key: cmake-default-${{ hashFiles('gradle/libs.versions.toml', 'app/build.gradle.kts', 'app/src/main/cpp/CMakeLists.txt') }} + key: cmake-default-${{ hashFiles('gradle/libs.versions.toml', 'app/build.gradle.kts', 'app/src/main/cpp/CMakeLists.txt', 'app/src/main/rust/Cargo.lock') }} restore-keys: cmake-default- - name: Build @@ -147,7 +147,7 @@ jobs: uses: actions/cache@v4 with: path: app/.cxx - key: cmake-marshmallow-${{ hashFiles('gradle/libs.versions.toml', 'app/build.gradle.kts', 'app/src/main/cpp/CMakeLists.txt') }} + key: cmake-marshmallow-${{ hashFiles('gradle/libs.versions.toml', 'app/build.gradle.kts', 'app/src/main/cpp/CMakeLists.txt', 'app/src/main/rust/Cargo.lock') }} restore-keys: cmake-marshmallow- - name: Build diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index c5ced08b5..b537de232 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -38,10 +38,10 @@ jobs: workspaces: "./app/src/main/rust" - name: CMake Cache - uses: actions/cache@v4 + uses: actions/cache/restore@v4 with: path: app/.cxx - key: cmake-${{ hashFiles('gradle/libs.versions.toml', 'app/build.gradle.kts', 'app/src/main/cpp/CMakeLists.txt') }} + key: cmake- restore-keys: cmake- - name: Setup Gradle