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 075ad41 commit e11f2b6Copy full SHA for e11f2b6
image/src/github_actions/commands.py
@@ -9,6 +9,9 @@ def generate_delimiter():
9
return ''.join(random.choice(string.ascii_lowercase) for _ in range(20))
10
11
def output(name: str, value: Any) -> None:
12
+ if not isinstance(value, str):
13
+ value = str(value)
14
+
15
if 'GITHUB_OUTPUT' in os.environ and Path(os.environ['GITHUB_OUTPUT']).is_file():
16
with open(os.environ['GITHUB_OUTPUT'], 'a') as f:
17
if len(value.splitlines()) > 1:
0 commit comments