diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d64e7cb10..6c12d88ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,7 @@ jobs: path: | app/.cxx app/src/main/cpp/nettle/nettle - key: ${{ runner.os }}-cmake-${{ github.run_id }} + key: ${{ runner.os }}-cmake-${{ hashFiles('app/src/main/cpp/CMakeLists.txt') }} restore-keys: ${{ runner.os }}-cmake- - name: Build OSS diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index daaae3951..81d223d3d 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -35,7 +35,7 @@ jobs: path: | app/.cxx app/src/main/cpp/nettle/nettle - key: ${{ runner.os }}-cmake-${{ github.run_id }} + key: ${{ runner.os }}-cmake-${{ hashFiles('app/src/main/cpp/CMakeLists.txt') }} restore-keys: ${{ runner.os }}-cmake- - name: Gradle Build