File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -159,8 +159,8 @@ for group in "${!BUILD_TARGET_GROUPS[@]}"; do
159159
160160 # 1. Clean Bazel to ensure a fresh build for CodeQL tracing
161161 echo " Running 'bazel clean --expunge' and 'bazel shutdown'..."
162- bazel clean --expunge -- output_base=" ${current_bazel_output_base} " || { echo " Bazel clean failed for ${group} " ; exit 1; }
163- bazel shutdown --output_base=" ${current_bazel_output_base} " || { echo " Bazel shutdown failed for ${group} " ; exit 1; }
162+ bazel -- output_base=" ${current_bazel_output_base} " clean --expunge || { echo " Bazel clean failed for ${group} " ; exit 1; }
163+ bazel --output_base=" ${current_bazel_output_base} " shutdown || { echo " Bazel shutdown failed for ${group} " ; exit 1; }
164164
165165 # Log build group banner only to stdout/stderr (not into summary table file)
166166 echo " --- Building group: ${group} ---"
@@ -170,8 +170,7 @@ for group in "${!BUILD_TARGET_GROUPS[@]}"; do
170170 echo " ::group::Bazel build (${group} )"
171171 set +e
172172
173- build_command=" bazel build \
174- --output_base=\\\" ${current_bazel_output_base} \\\" \
173+ build_command=" bazel --output_base=\\\" ${current_bazel_output_base} \\\" build \
175174 --config '${CONFIG} ' \
176175 ${targets} \
177176 --verbose_failures \
You can’t perform that action at this time.
0 commit comments