From d88aa2a3a04dd15047113ccd122c3d316e5a6c66 Mon Sep 17 00:00:00 2001 From: Andreas Heinrich Date: Mon, 8 Jul 2024 14:37:34 +0200 Subject: [PATCH] fix join command Signed-off-by: Andreas Heinrich --- .github/workflows/deploy-single-docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-single-docker-image.yml b/.github/workflows/deploy-single-docker-image.yml index f11f53d..504d032 100644 --- a/.github/workflows/deploy-single-docker-image.yml +++ b/.github/workflows/deploy-single-docker-image.yml @@ -90,7 +90,7 @@ jobs: exit(1) if not "${{ inputs.directory }}" in list_of_paths: list_of_paths.append("${{ inputs.directory }}/*") - regex = list_of_paths.join("|") + regex = "|".join(list_of_paths) # set the regex as an output with open(os.environ["GITHUB_OUTPUT"], "a") as f: f.write(f"regex={regex}\n")