From f8167c20b629df3184b567704aef4d60d40654c1 Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Wed, 28 Feb 2024 19:33:26 +0100 Subject: [PATCH] fix: remove whitespaces in output --- action/matrix_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action/matrix_generator.py b/action/matrix_generator.py index 3b0f045..c91ff2a 100644 --- a/action/matrix_generator.py +++ b/action/matrix_generator.py @@ -54,7 +54,7 @@ def main(): version_objects = get_latest_versions(all_versions_list) - value = json.dumps(version_objects) + value = json.dumps(version_objects, separators=(",", ":")) with open(os.environ["GITHUB_OUTPUT"], "a") as fh: print(f"{OUTPUT}={value}", file=fh)