ci(bench): fix benchmark result not saved for pr (#2981)

This commit is contained in:
Jonathan Ho
2023-04-08 07:31:35 -07:00
committed by GitHub
parent 0b8cb1e463
commit 7151b338e4

View File

@@ -62,7 +62,9 @@ jobs:
uses: actions/cache@v3
with:
path: ./benchmarksResult
key: ${{ github.ref }}-benchmark
key: ${{ github.ref }}-benchmark-${{ github.sha }}
restore-keys: |
${{ github.ref }}-benchmark-
- name: Store benchmark result to cache
if: ${{ steps.cpuCheck.outputs.match == 'true' }}
uses: benchmark-action/github-action-benchmark@v1