workflow_cmds
error
error(title: str, message)
Source code in gha_runner/helper/workflow_cmds.py
def error(title: str, message):
print(f"::error title={title}::{message}")
output
output(name: str, value: str)
Source code in gha_runner/helper/workflow_cmds.py
def output(name: str, value: str):
with open(os.environ["GITHUB_OUTPUT"], "a") as output:
output.write(f"{name}={value}\n")
warning
warning(title: str, message)
Source code in gha_runner/helper/workflow_cmds.py
def warning(title: str, message):
print(f"::warning title={title}::{message}")