From d85d7b1a25211e7a06be0f66db3d8f570d234da5 Mon Sep 17 00:00:00 2001 From: Adrien Cacciaguerra Date: Fri, 17 Oct 2025 15:16:30 +0200 Subject: [PATCH] feat(cache): use the mode in the cache key to avoid using wrong cache --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 6c049d1..e161508 100644 --- a/action.yml +++ b/action.yml @@ -87,9 +87,9 @@ runs: uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: path: ${{ inputs.instruments-cache-dir }} - key: codspeed-instruments-${{ runner.os }}-${{ runner.arch }}-${{steps.versions.outputs.kernel-version }}-${{ steps.versions.outputs.runner-version }} + key: codspeed-instruments-${{ inputs.mode }}-${{ runner.os }}-${{ runner.arch }}-${{steps.versions.outputs.kernel-version }}-${{ steps.versions.outputs.runner-version }} restore-keys: | - codspeed-instruments-${{ runner.os }}-${{ runner.arch }}-${{steps.versions.outputs.kernel-version }}- + codspeed-instruments-${{ inputs.mode }}-${{ runner.os }}-${{ runner.arch }}-${{steps.versions.outputs.kernel-version }}- - shell: bash env: