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
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:
parent
776421884b
commit
ff7c6b17d8
1 changed files with 5 additions and 1 deletions
|
@ -28,7 +28,11 @@ def parse_inputs() -> dict[str, object]:
|
|||
d = {}
|
||||
for variable, value in sorted(projects.environment.items()):
|
||||
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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue