From e6d631994e599555ba66576c62bed6756b6b40d4 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 21 Oct 2024 14:58:34 +0200 Subject: [PATCH] action --- spcd/act.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spcd/act.py b/spcd/act.py index 625e7fc..5b7c3c2 100644 --- a/spcd/act.py +++ b/spcd/act.py @@ -15,9 +15,8 @@ PREFIX = "INPUT_" def action() -> None: """Display action inputs.""" - for variable, value in sorted(projects.environment.items()): - if variable.startswith(PREFIX): - log.info("%s = %s", variable, value) + for variable, value in parse_inputs().items(): + log.info("%s = %s", variable, value) def parse_inputs() -> dict[str, object]: