Pin Blender for CI asset processing
CI / build-and-test (pull_request) Successful in 1m27s
CI / production-build (pull_request) Failing after 3m8s

This commit is contained in:
2026-09-24 13:14:02 +02:00
parent 1ba29b817b
commit ac7c57e288
4 changed files with 91 additions and 6 deletions
+9
View File
@@ -7,6 +7,15 @@ import sys
def main():
output = sys.argv[sys.argv.index("--") + 1]
actions_path = sys.argv[sys.argv.index("--") + 2]
source_path = sys.argv[sys.argv.index("--") + 3]
loaded_path = os.path.realpath(bpy.data.filepath)
expected_path = os.path.realpath(source_path)
if loaded_path != expected_path:
raise RuntimeError(
f"Blender loaded {loaded_path!r} instead of {expected_path!r}"
)
if not bpy.data.objects or not bpy.data.meshes:
raise RuntimeError("Blender loaded an empty scene")
with open(actions_path) as file:
actions_to_keep = set(json.load(file))