Skip to content

Commit

Permalink
ignore empty lines
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Heinrich <[email protected]>
  • Loading branch information
andistorm committed Jul 8, 2024
1 parent ff48526 commit 5fe2120
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-single-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ jobs:
import os
list_of_paths = """${{ inputs.depends_on_paths }}""".split("\n")
for path in list_of_paths:
if path == "":
continue
if os.path.isdir(f"{path}"):
path = f"{path}/*"
elif os.path.isfile(f"{path}"):
Expand Down

0 comments on commit 5fe2120

Please sign in to comment.