Skip to content

Commit 94da2f2

Browse files
committed
fix(ci): gate optional benchmark baseline
1 parent 16ae474 commit 94da2f2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/pm-e2e-bench.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ jobs:
571571
# utoo-npm (last published release) only changes on releases — bench it
572572
# on manual dispatch only; label-triggered PR runs compare against
573573
# utoo-next, which is the signal that can actually change per PR.
574-
- if: github.event_name == 'workflow_dispatch'
574+
- if: github.event_name == 'workflow_dispatch' && contains(github.event.inputs.phases_pm_list, 'utoo-npm')
575575
uses: ./.github/actions/install-utoo-npm-baseline
576576
# The utoo-next binary is built upstream by build-linux's
577577
# "Build next branch utoo (bench baseline)" step. Just download.
@@ -714,7 +714,8 @@ jobs:
714714
- uses: ./.github/actions/install-bench-tools
715715
with:
716716
platform: mac
717-
- uses: ./.github/actions/install-utoo-npm-baseline
717+
- if: contains(github.event.inputs.phases_pm_list, 'utoo-npm')
718+
uses: ./.github/actions/install-utoo-npm-baseline
718719
- name: Verify tools
719720
run: |
720721
hyperfine --version

0 commit comments

Comments
 (0)