diff --git a/.github/workflows/benchmarks-pages.yaml b/.github/workflows/benchmarks-pages.yaml index 3672b6c2c..4625dd88d 100644 --- a/.github/workflows/benchmarks-pages.yaml +++ b/.github/workflows/benchmarks-pages.yaml @@ -25,7 +25,7 @@ jobs: uses: actions/cache@v4 with: path: ./cache - key: ${{ runner.os }}-benchmark + key: ${{ runner.os }}-${{github.event.pull_request.base.ref}}-benchmark - name: Store benchmark result uses: benchmark-action/github-action-benchmark@v1 with: diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 29f73ae76..5fb3258e6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -123,7 +123,7 @@ jobs: uses: actions/cache@v4 with: path: ./cache - key: ${{ runner.os }}-benchmark + key: ${{ runner.os }}-${{github.event.pull_request.base.ref}}-benchmark - name: Store benchmark result uses: benchmark-action/github-action-benchmark@v1 with: @@ -149,7 +149,7 @@ jobs: uses: actions/cache@v4 with: path: ./cache - key: ${{ runner.os }}-benchmark + key: ${{ runner.os }}-${{github.event.pull_request.base.ref}}-benchmark - name: Store benchmark result uses: benchmark-action/github-action-benchmark@v1 with: