File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -241,13 +241,17 @@ jobs:
241241 - name : postprocess metrics into the summary
242242 run : |
243243 if [ -f build/metrics.json ]; then
244- ./ build/citool/debug/citool postprocess- metrics build/metrics .json ${GITHUB_STEP_SUMMARY}
244+ METRICS= build/metrics.json
245245 elif [ -f obj/build/metrics.json ]; then
246- ./build/citool/debug/citool postprocess-metrics obj/build/metrics.json ${GITHUB_STEP_SUMMARY}
246+ METRICS= obj/build/metrics.json
247247 else
248248 echo "No metrics.json found"
249+ exit 0
249250 fi
250251
252+ ./build/citool/debug/citool postprocess-metrics \
253+ ${METRICS} ${GITHUB_STEP_SUMMARY}
254+
251255 - name : upload job metrics to DataDog
252256 if : needs.calculate_matrix.outputs.run_type != 'pr'
253257 env :
You can’t perform that action at this time.
0 commit comments