Skip to content

Commit

Permalink
fix: fix a bug in GitHub Actions matrix variable resolution (#896)
Browse files Browse the repository at this point in the history
Signed-off-by: behnazh-w <[email protected]>
  • Loading branch information
behnazh-w authored Oct 10, 2024
1 parent 7bb23d8 commit 6a210f4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,10 @@ def resolve_matrix_variable(job_node: GitHubJobNode, var: str) -> Iterable[str]:
# and let the caller handle it?
if isinstance(val, str):
yield val
if isinstance(val, int):
yield str(val)
if isinstance(val, float):
yield str(float)
yield str(val)
if isinstance(val, bool):
yield "true" if val else "false"
else:
Expand Down

0 comments on commit 6a210f4

Please sign in to comment.