mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
bencher cli flags rename (#38661)
Renames `--branch-start-point`, `--branch-start-point-hash`, and `--branch-reset`, in favor of `--start-point`, `--start-point-hash`, and `--start-point-reset`, according to [Bencher's Docs](https://bencher.dev/docs/reference/changelog/#v0421). Fixes: #38501 --------- Signed-off-by: Timmy <timmy@Timmys-Mac-mini.local> Signed-off-by: Timothy Elems <timmy@Timmys-Mac-mini.local> Signed-off-by: elemstimothy@protonmail.com <timmy@Timmys-Mac-mini.local> Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com> Co-authored-by: Timmy <timmy@Timmys-Mac-mini.local> Co-authored-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com>
This commit is contained in:
parent
d2ccce6052
commit
9c1ee4be83
2 changed files with 12 additions and 12 deletions
12
.github/workflows/ohos.yml
vendored
12
.github/workflows/ohos.yml
vendored
|
@ -306,9 +306,9 @@ jobs:
|
|||
if: github.event_name == 'pull_request_target'
|
||||
run: |
|
||||
echo "RUN_BENCHER_OPTIONS=--branch ${{ github.event.number }}/PR \
|
||||
--branch-start-point ${{ github.base_ref }} \
|
||||
--branch-start-point-hash ${{ github.event.pull_request.base.sha }} \
|
||||
--branch-reset \
|
||||
--start-point ${{ github.base_ref }} \
|
||||
--start-point-hash ${{ github.event.pull_request.base.sha }} \
|
||||
--start-point-reset \
|
||||
--start-point-clone-thresholds" >> "$GITHUB_ENV"
|
||||
- name: Set bencher opts for main
|
||||
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
|
||||
|
@ -321,10 +321,10 @@ jobs:
|
|||
git fetch upstream main
|
||||
echo "RUN_BENCHER_OPTIONS=--branch try \
|
||||
--hash $(git rev-parse HEAD~1) \
|
||||
--branch-start-point main \
|
||||
--branch-start-point-hash $(git merge-base upstream/main HEAD) \
|
||||
--start-point main \
|
||||
--start-point-hash $(git merge-base upstream/main HEAD) \
|
||||
--start-point-clone-thresholds \
|
||||
--branch-reset" >> "$GITHUB_ENV"
|
||||
--start-point-reset" >> "$GITHUB_ENV"
|
||||
- name: Uploading to bencher.dev
|
||||
# Note: That e.g. `--start-point` is ignored if it is an empty string,
|
||||
# which should be the case on e.g. normal push workflows on main.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue