From a5c4836925dc53c8da6d7b31e1b81a3a79d046a7 Mon Sep 17 00:00:00 2001 From: Jamie Balish Date: Fri, 8 Sep 2023 11:46:40 +0100 Subject: [PATCH] fix: use ACTION_CONTAINER_WORKDIR if not empty --- composer-action.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer-action.bash b/composer-action.bash index 1ccbef7..b61a22f 100755 --- a/composer-action.bash +++ b/composer-action.bash @@ -196,7 +196,7 @@ do fi done <<<$(env) -if [ -z "$ACTION_CONTAINER_WORKDIR" ]; then +if [ -n "$ACTION_CONTAINER_WORKDIR" ]; then container_workdir="${ACTION_CONTAINER_WORKDIR}" fi