Skip to content

Commit 651bf30

Browse files
committed
fix: use dynamic branch name in Bencher upload
1 parent e541a36 commit 651bf30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/benchmarks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
bencher run \
7777
--project "$BENCHER_PROJECT" \
7878
--token "$BENCHER_API_TOKEN" \
79-
--branch main \
79+
--branch "${{ github.ref_name }}" \
8080
--testbed ubuntu-latest \
8181
--threshold-measure latency \
8282
--threshold-test t_test \
@@ -131,7 +131,7 @@ jobs:
131131
bencher run \
132132
--project "$BENCHER_PROJECT" \
133133
--token "$BENCHER_API_TOKEN" \
134-
--branch main \
134+
--branch "${{ github.ref_name }}" \
135135
--testbed ubuntu-latest \
136136
--threshold-measure latency \
137137
--threshold-test t_test \

0 commit comments

Comments
 (0)