diff options
| author | Dante Niewenhuis <d.niewenhuis@hotmail.com> | 2026-05-21 21:44:27 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-21 21:44:27 +1000 |
| commit | 01e809146e8f19f58faf3a808ea994107730738d (patch) | |
| tree | 02e48217894b25df8bdd7d526298b58d0ef407f8 /.github/workflows/benchmark-comment.yml | |
| parent | 816332cbaf256c405a109d8cc16fec8f15df907e (diff) | |
Updated the benchmark submit to push to a release file (#425)
Diffstat (limited to '.github/workflows/benchmark-comment.yml')
| -rw-r--r-- | .github/workflows/benchmark-comment.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/benchmark-comment.yml b/.github/workflows/benchmark-comment.yml index c095162e..7f67f0f3 100644 --- a/.github/workflows/benchmark-comment.yml +++ b/.github/workflows/benchmark-comment.yml @@ -43,11 +43,13 @@ jobs: id: pr run: echo "number=$(cat pr-number.txt)" >> "$GITHUB_OUTPUT" - - name: Fetch baseline from benchmark-data branch + - name: Fetch baseline from benchmark-data release run: | - git fetch origin benchmark-data 2>/dev/null || true - git show origin/benchmark-data:benchmark-history.json > baseline.json 2>/dev/null \ + gh release download benchmark-data --asset benchmark-history.json \ + --output baseline.json 2>/dev/null \ || echo "[]" > baseline.json + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Generate comparison comment run: | |
