Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

check_workflows: read the workflows as UTF-8 (Windows CI decoded them as cp1252 and failed)

islandmedc6d1a806308a
diff --git a/tools/release/check_workflows.py b/tools/release/check_workflows.py
index 824536b6..40a1c1a4 100755
--- a/tools/release/check_workflows.py
+++ b/tools/release/check_workflows.py
@@ -134,7 +134,7 @@ def main():
if "--self-test" in sys.argv:
return self_test()
root = Path(__file__).resolve().parents[2] / ".github" / "workflows"
- files = {p.name: p.read_text() for p in sorted(root.glob("*.yml"))}
+ files = {p.name: p.read_text(encoding="utf-8") for p in sorted(root.glob("*.yml"))}
errs = check(files)
for e in errs:
print(e)