CI: improve more ci worflow

This commit is contained in:
mahee96
2026-02-24 02:43:02 +05:30
parent c546ff6642
commit 0403dc3278

View File

@@ -388,7 +388,13 @@ def main():
raise SystemExit(f"Usage: workflow.py {cmd}{suffix}")
args = sys.argv[2:2 + argc]
func(*args) if argc else func()
result = func(*args) if argc else func()
# ONLY real outputs go to stdout
if result is not None:
sys.stdout.write(str(result))
sys.stdout.flush()
if __name__ == "__main__":