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:
241
241
- name : postprocess metrics into the summary
242
242
run : |
243
243
if [ -f build/metrics.json ]; then
244
- ./ build/citool/debug/citool postprocess- metrics build/metrics .json ${GITHUB_STEP_SUMMARY}
244
+ METRICS= build/metrics.json
245
245
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
247
247
else
248
248
echo "No metrics.json found"
249
+ exit 0
249
250
fi
250
251
252
+ ./build/citool/debug/citool postprocess-metrics \
253
+ ${METRICS} ${GITHUB_STEP_SUMMARY}
254
+
251
255
- name : upload job metrics to DataDog
252
256
if : needs.calculate_matrix.outputs.run_type != 'pr'
253
257
env :
You can’t perform that action at this time.
0 commit comments