lower,valueerror
Some checks failed
/ alpine (push) Successful in 42s
/ debian (push) Failing after 1m2s
/ ubuntu (push) Failing after 1m7s
/ arch (push) Successful in 1m40s
/ opensuse (push) Successful in 2m30s
/ alma (push) Blocked by required conditions
/ rocky (push) Blocked by required conditions
/ fedora (push) Has been cancelled

This commit is contained in:
Marc Beninca 2024-10-21 15:59:45 +02:00
parent 776421884b
commit ff7c6b17d8
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -28,7 +28,11 @@ def parse_inputs() -> dict[str, object]:
d = {} d = {}
for variable, value in sorted(projects.environment.items()): for variable, value in sorted(projects.environment.items()):
if variable.startswith(PREFIX): if variable.startswith(PREFIX):
d[variable.removeprefix(PREFIX)] = literal_eval(value) name = variable.removeprefix(PREFIX).lower()
try:
d[name] = literal_eval(value)
except ValueError:
d[name] = value
return d return d