mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
pipeline: don't bomb when logging int value's length (GHA outputs)
This commit is contained in:
@@ -17,7 +17,8 @@ def set_gha_output(name, value):
|
||||
with open(os.environ['GITHUB_OUTPUT'], 'a') as fh:
|
||||
print(f'{name}={value}', file=fh)
|
||||
|
||||
log.info(f"Set GHA output '{name}' to ({len(value)} bytes) '{value}'")
|
||||
length = len(f"{value}")
|
||||
log.info(f"Set GHA output '{name}' to ({length} bytes) '{value}'")
|
||||
|
||||
|
||||
def set_multiline_gha_output(name, value):
|
||||
|
||||
Reference in New Issue
Block a user