[bazel][ci] Add CI action to generate pregen patch (#8816)

There were complaints about no patch files being created from CI when
the examples pre-gen fails for people who don't build with bazel. This
adds a new action step to run just the non-robotpy pregen.

I also added an argument to the diff tests to make it a unified diff,
which might make it easier to hand fix.
This commit is contained in:
PJ Reiniger
2026-04-25 14:06:02 -04:00
committed by GitHub
parent 2edef821f9
commit e7e51c9c05
15 changed files with 44 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ generate_commandsv3(
write_source_files(
name = "write_commandsv3",
diff_args = ["-u"],
files = {
"src/generated": ":generate_commandsv3",
},