From 6dd496a82f6e32b32e73f8e0d5cff20d15b9948a Mon Sep 17 00:00:00 2001 From: Bradley Goulding Date: Thu, 15 May 2025 22:58:17 +0200 Subject: [PATCH] make env handling more robust --- phpunit-action.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpunit-action.bash b/phpunit-action.bash index 9f88709..d054ce3 100755 --- a/phpunit-action.bash +++ b/phpunit-action.bash @@ -170,5 +170,5 @@ docker run --rm \ --volume "${GITHUB_WORKSPACE}":/app \ --workdir /app \ --network host \ - --env-file <( env| cut -f1 -d= ) \ + --env-file <(env | grep '=' | cut -f1 -d=) \ ${docker_tag} "${command_string[@]}"