From 1745689337c83532dd61c6bd4a9c7026ef03362a Mon Sep 17 00:00:00 2001 From: Tuomo Kriikkula Date: Tue, 25 Jun 2024 14:36:07 +0300 Subject: [PATCH] Add build_type to Valgrind cache key --- .github/workflows/cmake-build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-build.yaml b/.github/workflows/cmake-build.yaml index 3cdb6c0..4dcb430 100644 --- a/.github/workflows/cmake-build.yaml +++ b/.github/workflows/cmake-build.yaml @@ -70,8 +70,8 @@ jobs: if: matrix.os == 'ubuntu-24.04' with: path: ${{ env.VALGRIND_PREFIX }} - key: ${{ runner.os }}-cache-${{ env.VALGRIND_GIT_TAG }} - restore-keys: ${{ runner.os }}-cache-${{ env.VALGRIND_GIT_TAG }} + key: ${{ runner.os }}-cache-${{ env.VALGRIND_GIT_TAG }}-${{ matrix.build_type }} + restore-keys: ${{ runner.os }}-cache-${{ env.VALGRIND_GIT_TAG }}-${{ matrix.build_type }} - name: Install Valgrind if: ${{ (matrix.os == 'ubuntu-24.04') && (steps.cache-valgrind.outputs.cache-hit != 'true') }}