@@ -56,9 +56,6 @@ permissions:
5656
5757env :
5858 CI : true # implies --quiet for the scripts
59- VERBOSE : ${{ inputs.verbose || false }} # enables tracing and dump_vars in the scripts
60- # use ONLY if justified - new functionality, integration, etc.
61- FORCE_NEW_BASELINE : ${{ inputs.force-new-baseline || vars.FORCE_NEW_BASELINE || false }}
6259 # these must be the same across all jobs and steps below.
6360 # We must know where to find the artifacts and where to download/upload to/from across all jobs and steps here.
6461 ARTIFACTS_DIR : BmArtifacts
9895 - name : Run the benchmarks
9996 shell : bash
10097 env :
101- FORCE_NEW_BASELINE : ${{ inputs.force-new-baseline }}
102- VERBOSE : ${{ inputs.verbose || false }}
98+ FORCE_NEW_BASELINE : ${{ fromJSON(inputs.force-new-baseline) || false }}
99+ VERBOSE : ${{ fromJSON(inputs.verbose) || false }}
100+ DEFINE : ${{ inputs.define || '' }}
101+ SUMMARIES_DIR : ${{ env.SUMMARIES_DIR }}
103102 run : >-
104103 ./scripts/bash/run-benchmarks.sh ${{ inputs.benchmark-project }}
105104 --max-regression-pct "${{ inputs.max-regression-pct }}"
@@ -116,7 +115,7 @@ jobs:
116115 retention-days : 5
117116
118117 - name : Upload benchmark results artifact as a new baseline
119- if : ${{ inputs.force-new-baseline || env.FORCE_NEW_BASELINE || false }}
118+ if : ${{ inputs.force-new-baseline || false }}
120119 uses : actions/upload-artifact@v4
121120 with :
122121 name : benchmark-baseline-${{ matrix.os }}
0 commit comments