From 7b62f2c0c0604997f0fad2288e85016f64c7bf1e Mon Sep 17 00:00:00 2001 From: Marco Franssen Date: Fri, 24 Dec 2021 15:21:19 +0100 Subject: [PATCH] Prevent whitelines in base64 encoding Signed-off-by: Marco Franssen --- action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yaml b/action.yaml index 7a0330b1..465297f7 100644 --- a/action.yaml +++ b/action.yaml @@ -30,8 +30,8 @@ runs: id: compose-args shell: bash run: | - encoded_github="$(echo '${{ inputs.github_context }}' | base64)" - encoded_runner="$(echo '${{ inputs.runner_context }}' | base64)" + encoded_github="$(echo '${{ inputs.github_context }}' | base64 -w 0)" + encoded_runner="$(echo '${{ inputs.runner_context }}' | base64 -w 0)" args=(${{ inputs.command }}) args+=(${{ inputs.subcommand }})