From 01e809146e8f19f58faf3a808ea994107730738d Mon Sep 17 00:00:00 2001 From: Dante Niewenhuis Date: Thu, 21 May 2026 21:44:27 +1000 Subject: Updated the benchmark submit to push to a release file (#425) --- .github/workflows/benchmark-comment.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '.github/workflows/benchmark-comment.yml') 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: | -- cgit v1.2.3