Skip to content

Commit

Permalink
Add build_type to Valgrind cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
tuokri committed Jun 25, 2024
1 parent 7d632b0 commit 1745689
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down

0 comments on commit 1745689

Please sign in to comment.