From 54900bcf2611113bf3fad96bed39e1f6f6201d35 Mon Sep 17 00:00:00 2001 From: linguist <22963968+lowlighter@users.noreply.github.com> Date: Thu, 31 Dec 2020 16:03:14 +0100 Subject: [PATCH] Encode uri --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 3edb192b..267867db 100644 --- a/action.yml +++ b/action.yml @@ -382,7 +382,7 @@ runs: # Retrieve inputs and GitHub variables and store them in environment file echo "Generating environment file" touch .env - for INPUT in $(echo $INPUTS | jq -r 'to_entries|map("INPUT_\(.key|ascii_upcase)=\(.value)")|.[]'); do + for INPUT in $(echo $INPUTS | jq -r 'to_entries|map("INPUT_\(.key|ascii_upcase)=\(.value|@uri)")|.[]'); do echo $INPUT >> .env done env | grep -E '^(GITHUB|ACTIONS|CI)' >> .env