summaryrefslogtreecommitdiff
path: root/.github/workflows/benchmark.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/benchmark.yml')
-rw-r--r--.github/workflows/benchmark.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index d76c457c..3e5407bb 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -79,7 +79,9 @@ jobs:
- name: Download existing benchmark history
run: |
- gh release download benchmark-data --asset benchmark-history.json \
+ gh release download benchmark-data \
+ --repo atlarge-research/opendc \
+ --pattern benchmark-history.json \
--output existing-history.json 2>/dev/null \
|| echo "[]" > existing-history.json
env:
@@ -87,7 +89,7 @@ jobs:
- name: Update history
run: |
- python .github/scripts/update_history.py \
+ python3 .github/scripts/update_history.py \
current-results/results.json \
existing-history.json \
updated-history.json \
@@ -95,9 +97,11 @@ jobs:
- name: Upload to release
run: |
- gh release upload benchmark-data updated-history.json \
- --name benchmark-history.json --clobber 2>/dev/null \
+ gh release upload benchmark-data updated-history.json#benchmark-history.json \
+ --repo atlarge-research/opendc \
+ --clobber 2>/dev/null \
|| gh release create benchmark-data \
+ --repo atlarge-research/opendc \
--title "Benchmark Data" \
--notes "Permanent storage for benchmark history. Managed automatically by CI." \
updated-history.json#benchmark-history.json