diff --git a/.gitea/workflows/kibot.yml b/.gitea/workflows/kibot.yml index 60f24f4..b1453d6 100644 --- a/.gitea/workflows/kibot.yml +++ b/.gitea/workflows/kibot.yml @@ -325,11 +325,17 @@ jobs: # Run KiBot with the modified configuration # Skip ERC/DRC preflight checks to avoid stopping on errors - # Explicitly run diff and datasheet download outputs echo "Running KiBot with output directory: $OUTPUT_DIR" - kibot -c /tmp/kibot_temp.yaml -s run_erc,run_drc -d "$OUTPUT_DIR" -v \ - sch_diff pcb_diff download_datasheets $EXTRA_OUTPUTS || \ - kibot -c /tmp/kibot_temp.yaml -s run_erc,run_drc -d "$OUTPUT_DIR" -v + + # Run all outputs (KiBot will run all by default when no specific outputs are listed) + # Only add extra outputs if interactive diff is enabled + if [ "${{ github.event.inputs.enable_interactive_diff }}" = "true" ]; then + # Run with interactive diff outputs explicitly enabled + kibot -c /tmp/kibot_temp.yaml -s run_erc,run_drc -d "$OUTPUT_DIR" -v interactive_diff svg_diff + else + # Run all default outputs (everything with run_by_default: true) + kibot -c /tmp/kibot_temp.yaml -s run_erc,run_drc -d "$OUTPUT_DIR" -v + fi # Move outputs to root Generated folder mkdir -p "${GITHUB_WORKSPACE}/Generated"