summaryrefslogtreecommitdiff
path: root/.github/workflows/benchmark-comment.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/benchmark-comment.yml')
-rw-r--r--.github/workflows/benchmark-comment.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/benchmark-comment.yml b/.github/workflows/benchmark-comment.yml
index 760804d2..f45b188e 100644
--- a/.github/workflows/benchmark-comment.yml
+++ b/.github/workflows/benchmark-comment.yml
@@ -48,8 +48,8 @@ jobs:
gh release download benchmark-data \
--repo atlarge-research/opendc \
-A benchmark-history.json \
- -O baseline.json 2>/dev/null \
- || echo "[]" > baseline.json
+ -O baseline.json \
+ || { echo "Warning: Could not fetch baseline, using empty baseline"; echo "[]" > baseline.json; }
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}