We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8868a17 commit 8b49725Copy full SHA for 8b49725
main.py
@@ -51,9 +51,12 @@ def main() -> None:
51
52
if process.returncode != 0:
53
if input_data["fail_ci_on_error"] == "true":
54
- print(f"::error file:main.py::{process.stdout}")
+ print(f"::error file:main.py::{process.stdout.decode('utf-8')}")
55
sys.exit(1)
56
57
+ print(process.stdout.decode("utf-8"))
58
+ print(process.err.decode("utf-8"), file=sys.stderr)
59
+
60
61
if __name__ == "__main__":
62
main()
0 commit comments