diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index ee68edf7..f8eb8361 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -32,9 +32,9 @@ jobs: uses: actions/cache@v4 with: path: ./cache - key: benchmark-${{ runner.os }}-${{ github.run_id }} + key: benchmark-${{ runner.os }}-${{ github.ref }} restore-keys: | - benchmark-${{ runner.os }} + benchmark-${{ runner.os }}- - name: Store benchmark result uses: benchmark-action/github-action-benchmark@v1 @@ -49,7 +49,6 @@ jobs: summary-always: true gh-pages-branch: main skip-fetch-gh-pages: ${{ github.event_name == 'push' }} - benchmark-data-dir-path: ./cache/benchmarks docs: if: github.event_name == 'push' && github.ref == 'refs/heads/main'