Skip to content

Commit 57ab0e1

Browse files
committed
bencher branch name regardless if it's from a PR or not
1 parent c80f97d commit 57ab0e1

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/bencher.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: |
2727
bencher run \
2828
--project $(echo "${{ github.repository }}" | sed 's/\//-/g') \
29-
--branch "$GITHUB_HEAD_REF" \
29+
--branch "$GITHUB_REF_NAME" \
3030
--start-point "$GITHUB_BASE_REF" \
3131
--start-point-reset \
3232
--testbed ubuntu-latest \
@@ -35,6 +35,5 @@ jobs:
3535
--threshold-max-sample-size 64 \
3636
--threshold-upper-boundary 0.99 \
3737
--threshold-reset \
38-
--github-actions "${{ secrets.GITHUB_TOKEN }}" \
38+
--github-actions '${{ secrets.GITHUB_TOKEN }}' \
3939
"cargo bench"
40-
#--adapter rust_criterion\

0 commit comments

Comments
 (0)